]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-program-client: Remove useless stream eof check.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Tue, 23 Jan 2018 21:16:26 +0000 (22:16 +0100)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Wed, 31 Jan 2018 12:00:01 +0000 (14:00 +0200)
It also looks to be problematic.

src/lib-program-client/program-client.c

index 7e7cf99d065f3e6218f7036f63a537c4bf125912..3967996ac1035768a5f15f87329ccefc5541bc3f 100644 (file)
@@ -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);
 }