From: Stephan Bosch Date: Tue, 23 Jan 2018 21:16:26 +0000 (+0100) Subject: lib-program-client: Remove useless stream eof check. X-Git-Tag: 2.3.9~2424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=364ba9bc3de992d2feefdbb97b7c2ce404648e13;p=thirdparty%2Fdovecot%2Fcore.git lib-program-client: Remove useless stream eof check. It also looks to be problematic. --- diff --git a/src/lib-program-client/program-client.c b/src/lib-program-client/program-client.c index 7e7cf99d06..3967996ac1 100644 --- a/src/lib-program-client/program-client.c +++ b/src/lib-program-client/program-client.c @@ -372,11 +372,6 @@ void program_client_program_input(struct program_client *pclient) } if (program_client_input_pending(pclient)) return; - if (pclient->program_input != NULL && !input->eof) { - program_client_fail(pclient, - PROGRAM_CLIENT_ERROR_IO); - return; - } } program_client_disconnect(pclient, FALSE); }