[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.160 and 1.161

version 1.160, 2014/04/22 10:07:12 version 1.161, 2014/04/29 19:58:50
Line 1820 
Line 1820 
                         pwdlen = tmplen + 1;    /* track last seen '/' */                          pwdlen = tmplen + 1;    /* track last seen '/' */
         }          }
         free(tmp);          free(tmp);
           tmp = NULL;
   
         if (g.gl_matchc == 0)          if (g.gl_matchc == 0)
                 goto out;                  goto out;
Line 1827 
Line 1828 
         if (g.gl_matchc > 1)          if (g.gl_matchc > 1)
                 complete_display(g.gl_pathv, pwdlen);                  complete_display(g.gl_pathv, pwdlen);
   
         tmp = NULL;  
         /* Don't try to extend globs */          /* Don't try to extend globs */
         if (file == NULL || hadglob)          if (file == NULL || hadglob)
                 goto out;                  goto out;

Legend:
Removed from v.1.160  
changed lines
  Added in v.1.161