commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1098499 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/util.c
Date Mon, 02 May 2011 06:52:00 GMT
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;
 }



Mime
View raw message