apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@apache.org
Subject svn commit: r655138 - /apr/apr/trunk/poll/unix/select.c
Date Sat, 10 May 2008 18:52:28 GMT
Author: fielding
Date: Sat May 10 11:52:28 2008
New Revision: 655138

URL: http://svn.apache.org/viewvc?rev=655138&view=rev
Log:
silence warning about assignment expression

Modified:
    apr/apr/trunk/poll/unix/select.c

Modified: apr/apr/trunk/poll/unix/select.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/select.c?rev=655138&r1=655137&r2=655138&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/select.c (original)
+++ apr/apr/trunk/poll/unix/select.c Sat May 10 11:52:28 2008
@@ -520,7 +520,7 @@
             j++;
         }
     }
-    if ((*num) = j)
+    if (((*num) = j) != 0)
         rv = APR_SUCCESS;
 
     if (descriptors)



Mime
View raw message