1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Remove an accidentally committed diagnostic.

Forgot to remove this after debugging a development-time problem with
the new EPIPE special case. One of these days I'm going to have to set
up an automated way to protect against this kind of mistake...
This commit is contained in:
Simon Tatham 2015-09-25 12:45:08 +01:00
parent 5133d2a133
commit 5bb3334d0e

View File

@ -927,7 +927,6 @@ static int share_closing(Plug plug, const char *error_msg, int error_code,
* closing it again without bothering to read our version string).
* So that one case is not treated as a log-worthy error.
*/
printf("%d %d\n", error_code, cs->got_verstring);
if (error_code == BROKEN_PIPE_ERROR_CODE && !cs->got_verstring)
/* do nothing */;
else