summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/scp.c b/scp.c
index 6444ca885..1735693d6 100644
--- a/scp.c
+++ b/scp.c
@@ -75,7 +75,7 @@
75 */ 75 */
76 76
77#include "includes.h" 77#include "includes.h"
78RCSID("$OpenBSD: scp.c,v 1.67 2001/04/16 02:31:43 mouring Exp $"); 78RCSID("$OpenBSD: scp.c,v 1.68 2001/04/22 12:34:05 markus Exp $");
79 79
80#include "xmalloc.h" 80#include "xmalloc.h"
81#include "atomicio.h" 81#include "atomicio.h"
@@ -115,7 +115,7 @@ void addargs(char *fmt, ...) __attribute__((format(printf, 1, 2)));
115static struct timeval start; 115static struct timeval start;
116 116
117/* Number of bytes of current file transferred so far. */ 117/* Number of bytes of current file transferred so far. */
118volatile u_long statbytes; 118volatile off_t statbytes;
119 119
120/* Total size of current file. */ 120/* Total size of current file. */
121off_t totalbytes = 0; 121off_t totalbytes = 0;
@@ -488,8 +488,8 @@ source(argc, argv)
488 struct stat stb; 488 struct stat stb;
489 static BUF buffer; 489 static BUF buffer;
490 BUF *bp; 490 BUF *bp;
491 off_t i; 491 off_t i, amt, result;
492 int amt, fd, haderr, indx, result; 492 int fd, haderr, indx;
493 char *last, *name, buf[2048]; 493 char *last, *name, buf[2048];
494 int len; 494 int len;
495 495