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 ++++---- src/param.c | 2 +- src/param.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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; -- cgit v1.1