aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-20 17:17:40 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-20 17:17:40 +0000
commit8bfee971326790997eeb468290e2e1f533a30525 (patch)
tree37cfd05c6cc4637c7490571c7493a85ecf67f7bc /driver.c
parent1d531f550dc91548443d90ed04899c9b16a1ce50 (diff)
downloadfetchmail-8bfee971326790997eeb468290e2e1f533a30525.tar.gz
fetchmail-8bfee971326790997eeb468290e2e1f533a30525.tar.bz2
fetchmail-8bfee971326790997eeb468290e2e1f533a30525.zip
Add option arg to IPv4 code.
svn path=/trunk/; revision=1662
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver.c b/driver.c
index a1bb1dd3..5ed1e70a 100644
--- a/driver.c
+++ b/driver.c
@@ -486,7 +486,7 @@ static int smtp_open(struct query *ctl)
#endif /* INET6 */
}
- if ((ctl->smtp_socket = SockOpen(parsed_host,portnum)) == -1)
+ if ((ctl->smtp_socket = SockOpen(parsed_host,portnum,NULL)) == -1)
continue;
/* first, probe for ESMTP */
@@ -503,7 +503,7 @@ static int smtp_open(struct query *ctl)
ctl->smtp_socket = -1;
/* if opening for ESMTP failed, try SMTP */
- if ((ctl->smtp_socket = SockOpen(parsed_host,portnum)) == -1)
+ if ((ctl->smtp_socket = SockOpen(parsed_host,portnum,NULL)) == -1)
continue;
if (SMTP_ok(ctl->smtp_socket) == SM_OK &&
@@ -1688,7 +1688,7 @@ const struct method *proto; /* protocol method table */
ctl->server.service ? ctl->server.service : protocol->service,
ctl->server.netsec)) == -1)
#else /* INET6 */
- if ((sock = SockOpen(realhost, port)) == -1)
+ if ((sock = SockOpen(realhost, port, NULL)) == -1)
#endif /* INET6 */
{
#if !INET6