aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
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))