From 1ab3e3f1dde5cf87acdc1c3dc8efc57e3ed328d7 Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Wed, 25 Sep 2013 13:08:57 +0300 Subject: [PATCH] windows: "else" keyword is missing --- src/win/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/udp.c b/src/win/udp.c index 49de701c..0f100bf0 100644 --- a/src/win/udp.c +++ b/src/win/udp.c @@ -488,7 +488,7 @@ void uv_process_udp_recv_req(uv_loop_t* loop, uv_udp_t* handle, &buf, (const struct sockaddr*) &from, UV_UDP_PARTIAL); - } if (err == WSAEWOULDBLOCK) { + } else if (err == WSAEWOULDBLOCK) { /* Kernel buffer empty */ handle->recv_cb(handle, 0, &buf, NULL, 0); } else if (err != WSAECONNRESET && err != WSAENETRESET) {