windows: "else" keyword is missing

This commit is contained in:
Maks Naumov 2013-09-25 13:08:57 +03:00 committed by Ben Noordhuis
parent 68795b7d6f
commit 1ab3e3f1dd

View File

@ -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) {