[BACK]Return to sftp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sftp.c between version 1.31 and 1.32

version 1.31, 2002/07/25 01:16:59 version 1.32, 2002/11/27 17:53:35
Line 190 
Line 190 
                         file1 = cp;                          file1 = cp;
                 }                  }
   
                 if ((host = strchr(userhost, '@')) == NULL)                  if ((host = strrchr(userhost, '@')) == NULL)
                         host = userhost;                          host = userhost;
                 else {                  else {
                         *host++ = '\0';                          *host++ = '\0';

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32