aboutsummaryrefslogtreecommitdiff
path: root/external/miniupnpc/minisoap.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/miniupnpc/minisoap.c')
-rw-r--r--external/miniupnpc/minisoap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/miniupnpc/minisoap.c b/external/miniupnpc/minisoap.c
index 5c9a11438..76225f4b6 100644
--- a/external/miniupnpc/minisoap.c
+++ b/external/miniupnpc/minisoap.c
@@ -25,7 +25,7 @@
#include <stdlib.h>
#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