summaryrefslogtreecommitdiff
path: root/src/ivy.c
diff options
context:
space:
mode:
authorVincent Peyruqueou2023-03-27 11:12:55 +0200
committerVincent Peyruqueou2023-03-27 11:12:55 +0200
commit7c608bc1d5c126df839c699c5ae531828a00caa3 (patch)
tree4ebfa62a389439d9dc6fac23929714f95e23d3cb /src/ivy.c
parentc238c8851fe2f58008a8a290eb66c3531b4fd0b7 (diff)
downloadivy-c-7c608bc1d5c126df839c699c5ae531828a00caa3.zip
ivy-c-7c608bc1d5c126df839c699c5ae531828a00caa3.tar.gz
ivy-c-7c608bc1d5c126df839c699c5ae531828a00caa3.tar.bz2
ivy-c-7c608bc1d5c126df839c699c5ae531828a00caa3.tar.xz
Microsoft Visual Studio (2022) solution for src (lib IVY)
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;