[exim-dev] is this right?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jasen Betts
日付:  
To: exim-dev
題目: [exim-dev] is this right?
src/src/transports/smtp.c areound line 4500 says:


/* If the peer closed the TCP connection after end-of-data, but before
we could send QUIT, do TLS close, etc - call it a message error.
Otherwise, if all the recipients have been dealt with, call a close no
error at all; each address_item should have a suitable result already
(2xx: PENDING_OK, 4xx: DEFER, 5xx: FAIL) */

if (!(message_error = Ustrncmp(smtp_command,"end ",4) == 0))
  
    
Is that test supposed to have both "== 0" on the end and "!" on the front?
It does not seem to match the comment.
 

-- 
 Jasen.
 🇺🇦 Слава Україні


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/