Fix hosts_connection_nolog ensuring that sender_host_cache is not
[exim.git] / src / src / daemon.c
index 65195ccd193c81316ca8d684199807d7bc7bb066..24874c374f0a9f8d5d61b69eea8eadf7075c2cac 100644 (file)
@@ -341,6 +341,7 @@ arrange to unset the selector in the subprocess. */
 if (LOGGING(smtp_connection))
   {
   uschar *list = hosts_connection_nolog;
+  memset(sender_host_cache, 0, sizeof(sender_host_cache));
   if (list != NULL && verify_check_host(&list) == OK)
     save_log_selector &= ~L_smtp_connection;
   else