commit 0ddd04b4fccdc76de1c1c6de4c1c44e0c737af07
parent a19df909da3adad4dc78dd086e315ad005c484bf
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Fri, 24 Nov 2023 15:14:28 +0300
mhd_sockets: fixed error code for W32
The code was used only in tests and was not relevant for W32.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
@@ -648,7 +648,7 @@ typedef int MHD_SCKT_SEND_SIZE_;
# define MHD_SCKT_EACCESS_ WSAEACCES
# define MHD_SCKT_ENETDOWN_ WSAENETDOWN
# define MHD_SCKT_EALREADY_ WSAEALREADY
-# define MHD_SCKT_EINPROGRESS_ WSAEACCES
+# define MHD_SCKT_EINPROGRESS_ WSAEINPROGRESS
# define MHD_SCKT_EISCONN_ WSAEISCONN
#endif