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/06/24 08:34:40 UTC

svn commit: r1139166 - /commons/sandbox/runtime/trunk/src/main/native/shared/select.c

Author: mturk
Date: Fri Jun 24 06:34:39 2011
New Revision: 1139166

URL: http://svn.apache.org/viewvc?rev=1139166&view=rev
Log:
Add missing brackets

Modified:
    commons/sandbox/runtime/trunk/src/main/native/shared/select.c

Modified: commons/sandbox/runtime/trunk/src/main/native/shared/select.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/select.c?rev=1139166&r1=1139165&r2=1139166&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/select.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/select.c Fri Jun 24 06:34:39 2011
@@ -107,7 +107,7 @@ ACR_NET_EXPORT(jint, Select, wait0)(JNI_
     if (ns == -1) {
         int err = ACR_GET_NETOS_ERROR();
 #if defined(WINDOWS)
-        if (err == WSAENOTSOCK)
+        if (err == WSAENOTSOCK) {
             int optval;
             int optlen = ISIZEOF(optval);
 
@@ -207,7 +207,7 @@ ACR_NET_EXPORT(jshort, Select, wait1)(JN
     if (ns == -1) {
         int err = ACR_GET_NETOS_ERROR();
 #if defined(WINDOWS)
-        if (err == WSAENOTSOCK)
+        if (err == WSAENOTSOCK) {
             int optval;
             int optlen = ISIZEOF(optval);