From: guoxiang1996 Date: Sat, 10 Oct 2020 19:23:14 +0000 (+0800) Subject: Change log message in evutil_make_socket_nonblocking in win32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c644949d5db719f3d9986f574b6dcf7bf8264dc;p=libevent Change log message in evutil_make_socket_nonblocking in win32 Co-authored-by: guoxiang2 --- diff --git a/evutil.c b/evutil.c index a9207188..95d426ac 100644 --- a/evutil.c +++ b/evutil.c @@ -512,7 +512,7 @@ evutil_make_socket_nonblocking(evutil_socket_t fd) { unsigned long nonblocking = 1; if (ioctlsocket(fd, FIONBIO, &nonblocking) == SOCKET_ERROR) { - event_sock_warn(fd, "fcntl(%d, F_GETFL)", (int)fd); + event_sock_warn(fd, "ioctlsocket(%d, FIONBIO, &%lu)", (int)fd, (unsigned long)nonblocking); return -1; } }