diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-02-20 17:17:40 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-02-20 17:17:40 +0000 |
commit | 8bfee971326790997eeb468290e2e1f533a30525 (patch) | |
tree | 37cfd05c6cc4637c7490571c7493a85ecf67f7bc /socket.c | |
parent | 1d531f550dc91548443d90ed04899c9b16a1ce50 (diff) | |
download | fetchmail-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |