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

Diff for /src/usr.bin/ssh/Attic/sftp-int.c between version 1.55 and 1.56

version 1.55, 2003/01/14 10:58:00 version 1.56, 2003/01/16 03:41:55
Line 507 
Line 507 
   
         /* Only one match, dst may be file, directory or unspecified */          /* Only one match, dst may be file, directory or unspecified */
         if (g.gl_pathv[0] && g.gl_matchc == 1) {          if (g.gl_pathv[0] && g.gl_matchc == 1) {
                 if (!is_reg(g.gl_pathv[i])) {                  if (!is_reg(g.gl_pathv[0])) {
                         error("Can't upload %s: not a regular file",                          error("Can't upload %s: not a regular file",
                             g.gl_pathv[0]);                              g.gl_pathv[0]);
                         err = 1;                          err = 1;

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56