commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1139166 - /commons/sandbox/runtime/trunk/src/main/native/shared/select.c
Date Fri, 24 Jun 2011 06:34:40 GMT
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);
 



Mime
View raw message