smtp transport: poll for trailing data to drain before close
[exim.git] / src / src / daemon.c
index a248a4f40a9f9f29a683a8d3d8ebefb63c19baba..4a3cb6adbeea99b1bd5a957442bcc5f72ccff690 100644 (file)
@@ -87,7 +87,7 @@ sigchld_seen = TRUE;
 }
 
 
-/* SIGTERM handler.  Try to get the damon pid file removed
+/* SIGTERM handler.  Try to get the daemon pid file removed
 before exiting. */
 
 static void
@@ -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;
 }