]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm zlibconnect: Avoid duplicate error logging
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 3 Feb 2021 15:04:49 +0000 (17:04 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 17 Feb 2021 10:20:18 +0000 (10:20 +0000)
The istream errors are already logged with i_fatal(). There's no need for a
duplicate error.

src/doveadm/doveadm-zlib.c

index 60143d065adf71710e55083feac66f40193a9079..f1474f41271897bb06ed6699ce3e6acbf4541f4f 100644 (file)
@@ -105,7 +105,7 @@ static void client_input(struct client *client)
                }
                /* start compression */
                i_info("<Compression started>");
-               input = i_stream_create_deflate(client->input, TRUE);
+               input = i_stream_create_deflate(client->input, FALSE);
                output = o_stream_create_deflate(client->output, 6);
                i_stream_unref(&client->input);
                o_stream_unref(&client->output);