From 3e5e8c8359c4b2569100ebfba8b82262d4c7c3a8 Mon Sep 17 00:00:00 2001 From: bustico Date: Mon, 6 Jul 2009 11:03:13 +0000 Subject: typo fix --- src/ivysocket.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ivysocket.c') diff --git a/src/ivysocket.c b/src/ivysocket.c index 09fe251..efdddee 100644 --- a/src/ivysocket.c +++ b/src/ivysocket.c @@ -271,8 +271,8 @@ static void HandleServer(Channel channel, HANDLE fd, void *data) if (setsockopt(client->fd, /* socket affected */ IPPROTO_TCP, /* set option at TCP level */ TCP_NODELAY, /* name of option */ - (char *) &_TCP_NO_DELAY_ACTIVATED, /* the cast is historical */ - sizeof(_TCP_NO_DELAY_ACTIVATED)) < 0) /* length of option value */ + (char *) &TCP_NO_DELAY_ACTIVATED, /* the cast is historical */ + sizeof(TCP_NO_DELAY_ACTIVATED)) < 0) /* length of option value */ { #ifdef WIN32 fprintf(stderr," setsockopt %d\n",WSAGetLastError()); @@ -675,8 +675,8 @@ Client SocketConnectAddr (struct in_addr * addr, unsigned short port, if (setsockopt(handle, /* socket affected */ IPPROTO_TCP, /* set option at TCP level */ TCP_NODELAY, /* name of option */ - (char *) &_TCP_NO_DELAY_ACTIVATED, /* the cast is historical */ - sizeof(_TCP_NO_DELAY_ACTIVATED)) < 0) /* length of option value */ + (char *) &TCP_NO_DELAY_ACTIVATED, /* the cast is historical */ + sizeof(TCP_NO_DELAY_ACTIVATED)) < 0) /* length of option value */ { #ifdef WIN32 fprintf(stderr," setsockopt %d\n",WSAGetLastError()); -- cgit v1.1