From 4c159159d296e30c59fa780299644d71b2e52d3d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 30 Jul 2005 21:56:07 +0000 Subject: INCOMPATIBLE: DROP --netsec/-T option, NET_SECURITY macro - the required library is no longer available. svn path=/trunk/; revision=4192 --- sink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sink.c') diff --git a/sink.c b/sink.c index f3d3bce1..7aae42ac 100644 --- a/sink.c +++ b/sink.c @@ -148,7 +148,7 @@ int smtp_open(struct query *ctl) if ((ctl->smtp_socket = UnixOpen(ctl->smtphost))==-1) continue; } else - if ((ctl->smtp_socket = SockOpen(parsed_host,portnum,NULL, + if ((ctl->smtp_socket = SockOpen(parsed_host,portnum, ctl->server.plugout)) == -1) continue; @@ -177,7 +177,7 @@ int smtp_open(struct query *ctl) smtp_close(ctl, 0); /* if opening for ESMTP failed, try SMTP */ - if ((ctl->smtp_socket = SockOpen(parsed_host,portnum,NULL, + if ((ctl->smtp_socket = SockOpen(parsed_host,portnum, ctl->server.plugout)) == -1) continue; @@ -304,7 +304,7 @@ static int send_bouncemail(struct query *ctl, struct msgblk *msg, strlcat(daemon_name, fqdn_of_host, sizeof(daemon_name)); /* we need only SMTP for this purpose */ - if ((sock = SockOpen("localhost", SMTP_PORT, NULL, NULL)) == -1) + if ((sock = SockOpen("localhost", SMTP_PORT, NULL)) == -1) return(FALSE); if (SMTP_ok(sock) != SM_OK) -- cgit v1.2.3