From: Timo Sirainen Date: Thu, 30 Jun 2016 09:08:19 +0000 (+0300) Subject: lmtp: Fixed pipelining of commands after RCPT TO X-Git-Tag: 2.2.26~533 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=758df8fac222110c90d52fc3ffdb0d728a20493a;p=thirdparty%2Fdovecot%2Fcore.git lmtp: Fixed pipelining of commands after RCPT TO We should stop while waiting for anvil reply. Broken by ced943b0a. --- diff --git a/src/lmtp/commands.c b/src/lmtp/commands.c index b65c1bf786..fcc3633b8b 100644 --- a/src/lmtp/commands.c +++ b/src/lmtp/commands.c @@ -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; } }