From 84c11e85a4c4a12ecacba24afe9617222e4361e6 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 1 Nov 2009 13:57:17 -0800 Subject: [PATCH] Fix MSG_IO_TIMEOUT when the daemon is the receiver. --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.c b/io.c index a85bcfaf..e7cb76e3 100644 --- a/io.c +++ b/io.c @@ -1307,7 +1307,7 @@ static void read_a_msg(void) send_msg(MSG_IO_ERROR, data, 4, 0); break; case MSG_IO_TIMEOUT: - if (msg_bytes != 4 || am_sender || am_generator) + if (msg_bytes != 4 || am_server || am_generator) goto invalid_msg; data = perform_io(4, PIO_INPUT_AND_CONSUME); val = IVAL(data, 0); -- 2.34.1