aboutsummaryrefslogtreecommitdiff
path: root/src/platform/windows/win_resolv.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-07-13 09:13:13 -0700
committerGarrett D'Amore <garrett@damore.org>2018-07-16 10:06:55 -0700
commit3715056cf6337d2692b6916739042cff5296761d (patch)
treea6960d619d5655dde20143a39e6569a27a60f6c8 /src/platform/windows/win_resolv.c
parent4b75793ad60a228db727f76caa10615e4a14899b (diff)
downloadnng-3715056cf6337d2692b6916739042cff5296761d.tar.gz
nng-3715056cf6337d2692b6916739042cff5296761d.tar.bz2
nng-3715056cf6337d2692b6916739042cff5296761d.zip
fixes #591 incorrect reuse of server instances by websocket
This also arranges for server shutdown to be handled using the reaper, leading to more elegant cleanup.
Diffstat (limited to 'src/platform/windows/win_resolv.c')
-rw-r--r--src/platform/windows/win_resolv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/windows/win_resolv.c b/src/platform/windows/win_resolv.c
index e2cd192e..916f54b1 100644
--- a/src/platform/windows/win_resolv.c
+++ b/src/platform/windows/win_resolv.c
@@ -11,6 +11,7 @@
#include "core/nng_impl.h"
#include <ctype.h>
+#include <stdio.h>
#include <string.h>
#ifdef NNG_PLATFORM_WINDOWS