summaryrefslogtreecommitdiff
path: root/src/ivy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivy.c')
-rw-r--r--src/ivy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ivy.c b/src/ivy.c
index 7fbc553..6dd39df 100644
--- a/src/ivy.c
+++ b/src/ivy.c
@@ -28,13 +28,12 @@
#include <Ws2tcpip.h>
#include <windows.h>
#include "timer.h"
-#define snprintf _snprintf
+
#ifdef __MINGW32__
// should be removed in when defined in MinGW include of ws2tcpip.h
extern const char * WSAAPI inet_ntop(int af, const void *src,
char *dst, socklen_t size);
extern int WSAAPI inet_pton(int af, const char *src, void *dst);
-
#endif
#else
#include <sys/time.h>
@@ -629,7 +628,7 @@ static void Receive( Client client, const void *data, char *line )
if ( other )
{
RWIvyClientPtr target;
- // Dilemma choose the rigth client to close
+ // Dilemma choose the right client to close
// the symetric processing will try to close each other
// only one side may be closed
unsigned short int other_localPort, other_remotePort, clnt_localPort, clnt_remotePort;