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/05 15:41:44 UTC

svn commit: r1099794 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/inetsock.c

Author: mturk
Date: Thu May  5 13:41:44 2011
New Revision: 1099794

URL: http://svn.apache.org/viewvc?rev=1099794&view=rev
Log:
Fix typo

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/inetsock.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/inetsock.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/inetsock.c?rev=1099794&r1=1099793&r2=1099794&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/inetsock.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/inetsock.c Thu May  5 13:41:44 2011
@@ -44,7 +44,7 @@ ACR_NET_EXPORT(jboolean, SocketAddress, 
 
     sock = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP);
     if (sock != INVALID_SOCKET) {
-        closeocket(sock);
+        closesocket(sock);
         return JNI_TRUE;
     }
     else