You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2011/05/02 08:52:00 UTC
svn commit: r1098499 -
/commons/sandbox/runtime/trunk/src/main/native/os/win32/util.c
Author: mturk
Date: Mon May 2 06:51:59 2011
New Revision: 1098499
URL: http://svn.apache.org/viewvc?rev=1098499&view=rev
Log:
Use correct errno macro
Modified:
commons/sandbox/runtime/trunk/src/main/native/os/win32/util.c
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/util.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/util.c?rev=1098499&r1=1098498&r2=1098499&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/util.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/util.c Mon May 2 06:51:59 2011
@@ -327,7 +327,7 @@ AcrNonblock(int sd, int on)
if (sd == -1)
return ACR_EBADF;
if (ioctlsocket((SOCKET)sd, FIONBIO, &set) == SOCKET_ERROR)
- return ACR_GET_NET_ERROR();
+ return ACR_GET_NETOS_ERROR();
else
return 0;
}