summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/smtp_in.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c
index 48437c380..d62a3cf99 100644
--- a/src/src/smtp_in.c
+++ b/src/src/smtp_in.c
@@ -339,8 +339,10 @@ int fd, rc;
fd_set fds;
struct timeval tzero;
+#ifdef SUPPORT_TLS
if (tls_in.active >= 0)
return !tls_could_read();
+#endif
if (smtp_inptr < smtp_inend)
return FALSE;