]> 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:09:25 +0000 (12:09 +0300)
We should stop while waiting for anvil reply. Broken by ced943b0a.

src/lmtp/commands.c

index 2446a6512ee7c60aa863e7a004315eaf20adff9d..f0c796d0a2133999794319216477c46789c8d0e9 100644 (file)
@@ -754,7 +754,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;
        }
 }