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

Diff for /src/usr.bin/ssh/scp.c between version 1.161 and 1.162

version 1.161, 2007/10/24 03:44:02 version 1.162, 2008/01/01 09:06:39
Line 653 
Line 653 
                          * versions expecting microseconds.                           * versions expecting microseconds.
                          */                           */
                         (void) snprintf(buf, sizeof buf, "T%lu 0 %lu 0\n",                          (void) snprintf(buf, sizeof buf, "T%lu 0 %lu 0\n",
                             (u_long) stb.st_mtime,                              (u_long) (stb.st_mtime < 0 ? 0 : stb.st_mtime),
                             (u_long) stb.st_atime);                              (u_long) (stb.st_atime < 0 ? 0 : stb.st_atime));
                           if (verbose_mode) {
                                   fprintf(stderr, "File mtime %ld atime %ld\n",
                                       (long)stb.st_mtime, (long)stb.st_atime);
                                   fprintf(stderr, "Sending file timestamps: %s",
                                       buf);
                           }
                         (void) atomicio(vwrite, remout, buf, strlen(buf));                          (void) atomicio(vwrite, remout, buf, strlen(buf));
                         if (response() < 0)                          if (response() < 0)
                                 goto next;                                  goto next;

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