[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.227 and 1.228

version 1.227, 2023/03/08 04:43:12 version 1.228, 2023/03/08 06:21:32
Line 1969 
Line 1969 
   
         memset(&g, 0, sizeof(g));          memset(&g, 0, sizeof(g));
         if (remote != LOCAL) {          if (remote != LOCAL) {
                 tmp = make_absolute_pwd_glob(tmp, remote_path);                  tmp2 = make_absolute_pwd_glob(tmp, remote_path);
                   free(tmp);
                   tmp = tmp2;
                 remote_glob(conn, tmp, GLOB_DOOFFS|GLOB_MARK, NULL, &g);                  remote_glob(conn, tmp, GLOB_DOOFFS|GLOB_MARK, NULL, &g);
         } else          } else
                 glob(tmp, GLOB_DOOFFS|GLOB_MARK, NULL, &g);                  glob(tmp, GLOB_DOOFFS|GLOB_MARK, NULL, &g);

Legend:
Removed from v.1.227  
changed lines
  Added in v.1.228