summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/scp.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-08-24 21:46:59 +0000
committerderaadt <deraadt@openbsd.org>2000-08-24 21:46:59 +0000
commit1aa3e03811e6ff0636c2620f6e2d03555dcb0ac8 (patch)
tree9dc86a87209a98f3da6869e75e5b336f21ef073a /usr.bin/ssh/scp.c
parentLast change inadvertantly broke non-kerberos logins. It's not clear (diff)
downloadwireguard-openbsd-1aa3e03811e6ff0636c2620f6e2d03555dcb0ac8.tar.xz
wireguard-openbsd-1aa3e03811e6ff0636c2620f6e2d03555dcb0ac8.zip
off_t in sink, to fix files > 2GB, i think, test is still running ;-)
Diffstat (limited to 'usr.bin/ssh/scp.c')
-rw-r--r--usr.bin/ssh/scp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c
index e54f72d1bbb..8f8ebb8742b 100644
--- a/usr.bin/ssh/scp.c
+++ b/usr.bin/ssh/scp.c
@@ -47,7 +47,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: scp.c,v 1.35 2000/08/19 02:50:07 deraadt Exp $");
+RCSID("$OpenBSD: scp.c,v 1.36 2000/08/24 21:46:59 deraadt Exp $");
#include "ssh.h"
#include "xmalloc.h"
@@ -672,7 +672,8 @@ sink(argc, argv)
BUF *bp;
off_t i, j;
int amt, count, exists, first, mask, mode, ofd, omode;
- int setimes, size, targisdir, wrerrno = 0;
+ off_t size;
+ int setimes, targisdir, wrerrno = 0;
char ch, *cp, *np, *targ, *why, *vect[1], buf[2048];
struct utimbuf ut;
int dummy_usec;