From dfdf2091d46dd0e86ff5c4c26fcb85ee59268067 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 5 Oct 2013 17:25:06 -0700 Subject: [PATCH] typo --- win32/win32_compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/win32_compat.h b/win32/win32_compat.h index 463630d..d6adfd7 100644 --- a/win32/win32_compat.h +++ b/win32/win32_compat.h @@ -48,7 +48,7 @@ typedef int socklen_t; #define poll(x, y, z) win32_poll(x, y, z) #define inet_pton(x,y,z) win32_inet_pton(x,y,z) #define sleep(x) Sleep(x * 1000) -#define snprintf(a, b, c, ...) _snprintf_s(a, b, b, c, ## __VA_ARGS) +#define snprintf(a, b, c, ...) _snprintf_s(a, b, b, c, ## __VA_ARGS__) int win32_inet_pton(int af, const char * src, void * dst); int win32_poll(struct pollfd *fds, unsigned int nfsd, int timeout); int win32_gettimeofday(struct timeval *tv, struct timezone *tz);