~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f4968e
)
Put the \001 prefix back on scp error messages when they're sent to
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Apr 2001 17:18:47 +0000
(17:18 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Apr 2001 17:18:47 +0000
(17:18 +0000)
the server. (Not sure _why_ they're sent to the server; scp is
weird.) It may be pointless when sent to the screen, which is why I
removed it, but it's extremely pointful on the wire :-(
git-svn-id: svn://svn.tartarus.org/sgt/putty@1090
cda61777
-01e9-0310-a592-
d414129be87e
scp.c
patch
|
blob
|
blame
|
history
diff --git
a/scp.c
b/scp.c
index
ad33413
..
413cf4c
100644
(file)
--- a/
scp.c
+++ b/
scp.c
@@
-616,6
+616,7
@@
static void run_err(const char *fmt, ...)
strcpy(str, "scp: ");
vsprintf(str+strlen(str), fmt, ap);
strcat(str, "\n");
+ back->send("\001", 1); /* scp protocol error prefix */
back->send(str, strlen(str));
tell_user(stderr, "%s",str);
va_end(ap);