From ff89646a8828ce862d53b96a19ee6469dabce71a Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 28 Apr 2001 17:18:47 +0000 Subject: [PATCH] Put the \001 prefix back on scp error messages when they're sent to 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/scp.c b/scp.c index ad334133..413cf4c8 100644 --- 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); -- 2.11.0