[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.12 and 1.13

version 1.12, 2001/04/05 10:42:54 version 1.13, 2001/04/08 20:52:55
Line 198 
Line 198 
         if (optind == argc || argc > (optind + 1))          if (optind == argc || argc > (optind + 1))
                 usage();                  usage();
   
         userhost = argv[optind];          userhost = xstrdup(argv[optind]);
   
         if ((host = strchr(userhost, '@')) == NULL)          if ((host = strchr(userhost, '@')) == NULL)
                 host = userhost;                  host = userhost;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13