summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbustico2009-07-06 11:03:13 +0000
committerbustico2009-07-06 11:03:13 +0000
commit3e5e8c8359c4b2569100ebfba8b82262d4c7c3a8 (patch)
tree711ede9b7643e89601d36dc8ba92d6b1d4b3cccb /src
parentc11ddf39df8c9ea9e08410277b3a476961ad1df2 (diff)
downloadivy-c-3e5e8c8359c4b2569100ebfba8b82262d4c7c3a8.zip
ivy-c-3e5e8c8359c4b2569100ebfba8b82262d4c7c3a8.tar.gz
ivy-c-3e5e8c8359c4b2569100ebfba8b82262d4c7c3a8.tar.bz2
ivy-c-3e5e8c8359c4b2569100ebfba8b82262d4c7c3a8.tar.xz
typo fix
Diffstat (limited to 'src')
-rw-r--r--src/ivysocket.c8
-rw-r--r--src/param.c2
-rw-r--r--src/param.h2
3 files changed, 6 insertions, 6 deletions
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());
diff --git a/src/param.c b/src/param.c
index 8a6bd49..e794385 100644
--- a/src/param.c
+++ b/src/param.c
@@ -1,3 +1,3 @@
#include "param.h"
-const int _TCP_NO_DELAY_ACTIVATED = 1;
+const int TCP_NO_DELAY_ACTIVATED = 1;
diff --git a/src/param.h b/src/param.h
index 3e482b3..8cf463d 100644
--- a/src/param.h
+++ b/src/param.h
@@ -65,7 +65,7 @@
Since Ivy is most of the time used to send events, we will priviligiate
lag over throughtput, so _TCP_NO_DELAY_ACTIVATED is set to 1
*/
-extern const int _TCP_NO_DELAY_ACTIVATED;
+extern const int TCP_NO_DELAY_ACTIVATED;