X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fsmtp_in.c;h=92dbac4cee8bebcfa2df72e5cbdc4bd6764b8b3e;hb=f1f7d0cddd4fb38d0bcf81be13d6e272789ff9c7;hp=0ffa2193946fb87dbc931647d44f6a3ec2194e82;hpb=8b6b06fe3e009cb89ae7923b890e75f9dcd50118;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c index 0ffa21939..92dbac4ce 100644 --- a/src/src/smtp_in.c +++ b/src/src/smtp_in.c @@ -339,8 +339,8 @@ int fd, rc; fd_set fds; struct timeval tzero; -if (tls_in.active >= 0 && tls_could_read()) - return FALSE; +if (tls_in.active >= 0) + return !tls_could_read(); if (smtp_inptr < smtp_inend) return FALSE; @@ -3011,7 +3011,7 @@ if (rcpt_in_progress) rcpt_in_progress = FALSE; } -/* Not output the message, splitting it up into multiple lines if necessary. +/* Now output the message, splitting it up into multiple lines if necessary. We only handle pipelining these responses as far as nonfinal/final groups, not the whole MAIL/RCPT/DATA response set. */