summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/daemon.c1
-rw-r--r--src/src/malware.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c
index e9ecbe7d6..d7f579235 100644
--- a/src/src/daemon.c
+++ b/src/src/daemon.c
@@ -570,6 +570,7 @@ if (pid == 0)
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
diff --git a/src/src/malware.c b/src/src/malware.c
index 547bc26e6..549422ebb 100644
--- a/src/src/malware.c
+++ b/src/src/malware.c
@@ -503,8 +503,8 @@ if (!malware_ok)
break;
switch(scanent->conn)
{
- case MC_TCP: sock = ip_tcpsocket(scanner_options, &errstr, 5); break;
- case MC_UNIX: sock = ip_unixsocket(scanner_options, &errstr); break;
+ case MC_TCP: sock = ip_tcpsocket(scanner_options, &errstr, 5); break;
+ case MC_UNIX: sock = ip_unixsocket(scanner_options, &errstr); break;
case MC_STRM: sock = ip_streamsocket(scanner_options, &errstr, 5); break;
default: /* compiler quietening */ break;
}