]> Pileus Git - ~andy/fetchmail/blobdiff - sink.c
INCOMPATIBLE: DROP --netsec/-T option, NET_SECURITY macro - the required library...
[~andy/fetchmail] / sink.c
diff --git a/sink.c b/sink.c
index f3d3bce18eaa213245ddd189c22e0a326b28efa5..7aae42ac0896f1227297546a5d1357f897c65138 100644 (file)
--- 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)