Tidying and compiler-silencing
[exim.git] / src / src / smtp_in.c
index 55272a99a0ebbbbe153262cf6a391ddb841dbc43..cb6469811925754158b4a0358b9146e0ecfbd74e 100644 (file)
@@ -2367,6 +2367,7 @@ return done - 2;  /* Convert yield values */
 
 
 
+#ifdef SUPPORT_TLS
 static BOOL
 smtp_log_tls_fail(uschar * errstr)
 {
@@ -2378,6 +2379,7 @@ if (Ustrncmp(conn_info, US"SMTP ", 5) == 0) conn_info += 5;
 log_write(0, LOG_MAIN, "TLS error on %s %s", conn_info, errstr);
 return FALSE;
 }
+#endif