aboutsummaryrefslogtreecommitdiff
path: root/external/miniupnpc/receivedata.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/miniupnpc/receivedata.c')
-rw-r--r--external/miniupnpc/receivedata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/miniupnpc/receivedata.c b/external/miniupnpc/receivedata.c
index ef85a3db4..d003eb69d 100644
--- a/external/miniupnpc/receivedata.c
+++ b/external/miniupnpc/receivedata.c
@@ -28,7 +28,7 @@
#endif /* _WIN32 */
#ifdef _WIN32
-#define PRINT_SOCKET_ERROR(x) printf("Socket error: %s, %d\n", x, WSAGetLastError());
+#define PRINT_SOCKET_ERROR(x) fprintf(stderr, "Socket error: %s, %d\n", x, WSAGetLastError());
#else
#define PRINT_SOCKET_ERROR(x) perror(x)
#endif