summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-17 18:07:46 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-17 18:07:46 +0000
commitfea7278d901d7ee66b990f9c5d3ef7616c1a9c58 (patch)
tree11e548ca5d4534bb701b1a3ac97945dcf9e5e0b3
parent45b14dbddc244bba8c17d71186c2bc49b355636a (diff)
- (bal) Fixed scp type casing issue which causes "scp: protocol error:
size not delimited" fatal errors when tranfering.
-rw-r--r--ChangeLog6
-rw-r--r--scp.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a1426e752..183a9c629 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120010318
2 - (bal) Fixed scp type casing issue which causes "scp: protocol error:
3 size not delimited" fatal errors when tranfering.
4
120010317 520010317
2 - Support usrinfo() on AIX. Based on patch from Gert Doering 6 - Support usrinfo() on AIX. Based on patch from Gert Doering
3 <gert@greenie.muc.de> 7 <gert@greenie.muc.de>
@@ -4586,4 +4590,4 @@
4586 - Wrote replacements for strlcpy and mkdtemp 4590 - Wrote replacements for strlcpy and mkdtemp
4587 - Released 1.0pre1 4591 - Released 1.0pre1
4588 4592
4589$Id: ChangeLog,v 1.968 2001/03/17 01:15:38 mouring Exp $ 4593$Id: ChangeLog,v 1.969 2001/03/17 18:07:46 mouring Exp $
diff --git a/scp.c b/scp.c
index 66e46dd22..27a502964 100644
--- a/scp.c
+++ b/scp.c
@@ -547,7 +547,7 @@ syserr: run_err("%s: %s", name, strerror(errno));
547#define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) 547#define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO)
548 snprintf(buf, sizeof buf, "C%04o %lld %s\n", 548 snprintf(buf, sizeof buf, "C%04o %lld %s\n",
549 (u_int) (stb.st_mode & FILEMODEMASK), 549 (u_int) (stb.st_mode & FILEMODEMASK),
550 stb.st_size, last); 550 (long long) stb.st_size, last);
551 if (verbose_mode) { 551 if (verbose_mode) {
552 fprintf(stderr, "Sending file modes: %s", buf); 552 fprintf(stderr, "Sending file modes: %s", buf);
553 fflush(stderr); 553 fflush(stderr);