diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-03-13 13:52:26 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-03-13 14:53:16 +0000 |
commit | e04bfa34ece182e956a33fdf8986813f245d76f3 (patch) | |
tree | db49dc2a4b8c3b036f48f9f4a6fc19548a914e1f /src/src/daemon.c | |
parent | 0ae2cff689a193dcab8f6b9fb73d7de1f847ad1b (diff) | |
download | exim4-e04bfa34ece182e956a33fdf8986813f245d76f3.tar.gz |
Mark variables unused before release of store in the daemon loop
Diffstat (limited to 'src/src/daemon.c')
-rw-r--r-- | src/src/daemon.c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c index 476ed296b..4a89afe74 100644 --- a/src/src/daemon.c +++ b/src/src/daemon.c @@ -563,18 +563,13 @@ if (pid == 0) /* Reclaim up the store used in accepting this message */ - return_path = sender_address = NULL; - authenticated_sender = NULL; - sending_ip_address = NULL; - deliver_host_address = deliver_host = - deliver_domain_orig = deliver_localpart_orig = NULL; - dnslist_domain = dnslist_matched = NULL; - callout_address = NULL; -#ifndef DISABLE_DKIM - dkim_cur_signer = NULL; -#endif - acl_var_m = NULL; - store_reset(reset_point); + { + int r = receive_messagecount; + BOOL q = queue_only_policy; + smtp_reset(reset_point); + queue_only_policy = q; + receive_messagecount = r; + } /* If queue_only is set or if there are too many incoming connections in existence, session_local_queue_only will be TRUE. If it is not, check |