diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-17 18:07:46 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-17 18:07:46 +0000 |
commit | fea7278d901d7ee66b990f9c5d3ef7616c1a9c58 (patch) | |
tree | 11e548ca5d4534bb701b1a3ac97945dcf9e5e0b3 | |
parent | 45b14dbddc244bba8c17d71186c2bc49b355636a (diff) |
- (bal) Fixed scp type casing issue which causes "scp: protocol error:
size not delimited" fatal errors when tranfering.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | scp.c | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20010318 | ||
2 | - (bal) Fixed scp type casing issue which causes "scp: protocol error: | ||
3 | size not delimited" fatal errors when tranfering. | ||
4 | |||
1 | 20010317 | 5 | 20010317 |
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 $ |
@@ -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); |