diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-11-02 16:25:09 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-11-02 16:25:09 +0000 |
commit | 4ee8d22351243e9a79bb40f181786e5650abae47 (patch) | |
tree | fdea4ac21bbe7f5c248a6085645069994c64621e /sink.c | |
parent | e98f220bcfa290b355c724b62b4c8c3c15da8e9c (diff) | |
download | fetchmail-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.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 && |