Fix early use of $sender_host_name
[exim.git] / src / src / daemon.c
index a248a4f40a9f9f29a683a8d3d8ebefb63c19baba..b10974a7ab1c1ddcb7b45856a37aa54a96525f99 100644 (file)
@@ -793,10 +793,8 @@ else (void)close(dup_accept_socket);
 the incoming host address and an expanded active_hostname. */
 
 log_close_all();
-interface_address =
-sender_host_address = NULL;
+interface_address = sender_host_name = sender_host_address = NULL;
 store_reset(reset_point);
-sender_host_address = NULL;
 }