Fix non-TLS build
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 13 Aug 2017 14:16:08 +0000 (15:16 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 13 Aug 2017 14:16:08 +0000 (15:16 +0100)
Broken-by: e5de01f091
src/src/smtp_in.c

index 48437c3808994c78182fdc68ad958d35c4c99760..d62a3cf99f5a3a8c87ebfceff7a29558d6cad8c8 100644 (file)
@@ -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;