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

Diff for /src/usr.bin/ssh/ssh.c between version 1.187 and 1.188

version 1.187, 2002/11/21 23:04:33 version 1.188, 2002/11/27 17:53:35
Line 482 
Line 482 
         av += optind;          av += optind;
   
         if (ac > 0 && !host && **av != '-') {          if (ac > 0 && !host && **av != '-') {
                 if (strchr(*av, '@')) {                  if (strrchr(*av, '@')) {
                         p = xstrdup(*av);                          p = xstrdup(*av);
                         cp = strchr(p, '@');                          cp = strrchr(p, '@');
                         if (cp == NULL || cp == p)                          if (cp == NULL || cp == p)
                                 usage();                                  usage();
                         options.user = p;                          options.user = p;

Legend:
Removed from v.1.187  
changed lines
  Added in v.1.188