[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.116 and 1.117

version 1.116, 2010/01/04 02:03:57 version 1.117, 2010/01/08 21:50:49
Line 1544 
Line 1544 
                 if (matchlen > strlen(word)) {                  if (matchlen > strlen(word)) {
                         char *tmp = xstrdup(list[0]);                          char *tmp = xstrdup(list[0]);
   
                         tmp[matchlen] = NULL;                          tmp[matchlen] = '\0';
                         return tmp;                          return tmp;
                 }                  }
         }          }
Line 2014 
Line 2014 
 main(int argc, char **argv)  main(int argc, char **argv)
 {  {
         int in, out, ch, err;          int in, out, ch, err;
         char *host, *userhost, *cp, *file2 = NULL;          char *host = NULL, *userhost, *cp, *file2 = NULL;
         int debug_level = 0, sshver = 2;          int debug_level = 0, sshver = 2;
         char *file1 = NULL, *sftp_server = NULL;          char *file1 = NULL, *sftp_server = NULL;
         char *ssh_program = _PATH_SSH_PROGRAM, *sftp_direct = NULL;          char *ssh_program = _PATH_SSH_PROGRAM, *sftp_direct = NULL;

Legend:
Removed from v.1.116  
changed lines
  Added in v.1.117