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.3.0.rc1~3365 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ddf6020f6fefe71c4422a8c55d012a62648ae3ad;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 2446a6512e..f0c796d0a2 100644 --- a/src/lmtp/commands.c +++ b/src/lmtp/commands.c @@ -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; } }