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

Diff for /src/usr.bin/ssh/scp.c between version 1.45 and 1.46

version 1.45, 2000/12/16 09:39:57 version 1.46, 2000/12/16 09:53:57
Line 1018 
Line 1018 
                 c = *cp;                  c = *cp;
                 if (c & 0200)                  if (c & 0200)
                         goto bad;                          goto bad;
                 if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-' && c != '.')                  if (!isalpha(c) && !isdigit(c) &&
                       c != '_' && c != '-' && c != '.' && c != '+')
                         goto bad;                          goto bad;
         } while (*++cp);          } while (*++cp);
         return (1);          return (1);

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46