summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-08-13 15:16:08 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-08-13 15:16:08 +0100
commit9067f574a30c09d7d1a189971126de3a538108c8 (patch)
treeb8afd4dc7bfa811bec4c0faa99b240dc563ec25b /src
parent6e1a8743d03b48d68571398be55d1e14f6391a5b (diff)
Fix non-TLS build
Broken-by: e5de01f091
Diffstat (limited to 'src')
-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;