Commit 84c11e85 authored by Wayne Davison's avatar Wayne Davison

Fix MSG_IO_TIMEOUT when the daemon is the receiver.

parent 6be8a8b1
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment