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

Diff for /src/usr.bin/ssh/sftp-server.c between version 1.6 and 1.7

version 1.6, 2000/09/07 20:27:53 version 1.7, 2000/12/09 14:08:27
Line 892 
Line 892 
   
         id = get_int();          id = get_int();
         path = get_string(NULL);          path = get_string(NULL);
           if (path[0] == '\0') {
                   xfree(path);
                   path = xstrdup(".");
           }
         TRACE("realpath id %d path %s", id, path);          TRACE("realpath id %d path %s", id, path);
         if (realpath(path, resolvedname) == NULL) {          if (realpath(path, resolvedname) == NULL) {
                 send_status(id, errno_to_portable(errno));                  send_status(id, errno_to_portable(errno));

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7