aboutsummaryrefslogtreecommitdiffstats
path: root/socket.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 /socket.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 'socket.c')
-rw-r--r--socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/socket.c b/socket.c
index 1f8733a9..9fd04024 100644
--- a/socket.c
+++ b/socket.c
@@ -73,7 +73,7 @@ int SockOpen(const char *host, const char *service, const char *options)
#endif
#endif /* INET_ATON */
-int SockOpen(const char *host, int clientPort)
+int SockOpen(const char *host, int clientPort, const char *options)
{
int sock;
#ifndef INET_ATON
@@ -220,7 +220,7 @@ int SockPeek(int sock)
*/
main()
{
- int sock = SockOpen("localhost", 19);
+ int sock = SockOpen("localhost", 19, NULL);
char buf[80];
while (SockRead(sock, buf, sizeof(buf)-1))