From 7c608bc1d5c126df839c699c5ae531828a00caa3 Mon Sep 17 00:00:00 2001 From: Vincent Peyruqueou Date: Mon, 27 Mar 2023 11:12:55 +0200 Subject: Microsoft Visual Studio (2022) solution for src (lib IVY) --- src/ivy.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ivy.c') 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 #include #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 @@ -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; -- cgit v1.1