aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-02 16:25:09 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-02 16:25:09 +0000
commit4ee8d22351243e9a79bb40f181786e5650abae47 (patch)
treefdea4ac21bbe7f5c248a6085645069994c64621e /sink.c
parente98f220bcfa290b355c724b62b4c8c3c15da8e9c (diff)
downloadfetchmail-4ee8d22351243e9a79bb40f181786e5650abae47.tar.gz
fetchmail-4ee8d22351243e9a79bb40f181786e5650abae47.tar.bz2
fetchmail-4ee8d22351243e9a79bb40f181786e5650abae47.zip
Added plugin/plugout option.
svn path=/trunk/; revision=2168
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sink.c b/sink.c
index 14aa8fc4..17e6406c 100644
--- a/sink.c
+++ b/sink.c
@@ -111,7 +111,8 @@ static int smtp_open(struct query *ctl)
#endif /* INET6 */
}
- if ((ctl->smtp_socket = SockOpen(parsed_host,portnum,NULL)) == -1)
+ if ((ctl->smtp_socket = SockOpen(parsed_host,portnum,NULL,
+ ctl->server.plugout)) == -1)
continue;
/* first, probe for ESMTP */
@@ -128,7 +129,8 @@ 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,NULL)) == -1)
+ if ((ctl->smtp_socket = SockOpen(parsed_host,portnum,NULL,
+ ctl->server.plugout)) == -1)
continue;
if (SMTP_ok(ctl->smtp_socket) == SM_OK &&