View | Details | Raw Unified | Return to bug 828 | Differences between
and this patch

Collapse All | Expand All

(-)scp.c (-2 / +7 lines)
Lines 549-556 syserr: run_err("%s: %s", name, strerr Link Here
549
			 * versions expecting microseconds.
549
			 * versions expecting microseconds.
550
			 */
550
			 */
551
			(void) snprintf(buf, sizeof buf, "T%lu 0 %lu 0\n",
551
			(void) snprintf(buf, sizeof buf, "T%lu 0 %lu 0\n",
552
			    (u_long) stb.st_mtime,
552
			    (u_long) (stb.st_mtime < 0 ? 0 : stb.st_mtime),
553
			    (u_long) stb.st_atime);
553
			    (u_long) (stb.st_atime < 0 ? 0 : stb.st_atime));
554
			if (verbose_mode) {
555
				fprintf(stderr, "File mtime %ld atime %ld\n",  stb.st_mtime,
556
				    stb.st_atime);
557
				fprintf(stderr, "Sending file timestamps: %s", buf);
558
			}
554
			(void) atomicio(vwrite, remout, buf, strlen(buf));
559
			(void) atomicio(vwrite, remout, buf, strlen(buf));
555
			if (response() < 0)
560
			if (response() < 0)
556
				goto next;
561
				goto next;

Return to bug 828