]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: Fixed pipelining of commands after RCPT TO
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 30 Jun 2016 09:08:19 +0000 (12:08 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 30 Jun 2016 09:11:33 +0000 (12:11 +0300)
We should stop while waiting for anvil reply. Broken by ced943b0a.

src/lmtp/commands.c

index b65c1bf7869432950c143e7851b2a6cdbb9a722f..fcc3633b8b1eb88b25370a75d34e63ec53f76a4c 100644 (file)
@@ -746,7 +746,7 @@ int cmd_rcpt(struct client *client, const char *args)
                                        rcpt_anvil_lookup_callback, rcpt);
                /* stop processing further commands while anvil query is
                   pending */
-               return rcpt->anvil_query != NULL ? 0 : -1;
+               return rcpt->anvil_query == NULL ? 0 : -1;
        }
 }