apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r510542 - /apr/apr/trunk/test/testpoll.c
Date Thu, 22 Feb 2007 15:15:05 GMT
Author: jorton
Date: Thu Feb 22 07:15:04 2007
New Revision: 510542

URL: http://svn.apache.org/viewvc?view=rev&rev=510542
Log:
* test/testpoll.c: Fix to only return in ENOTIMPL case.

Submitted by: Ryan Phillips <ryan-apr trolocsis.com>

Modified:
    apr/apr/trunk/test/testpoll.c

Modified: apr/apr/trunk/test/testpoll.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testpoll.c?view=diff&rev=510542&r1=510541&r2=510542
==============================================================================
--- apr/apr/trunk/test/testpoll.c (original)
+++ apr/apr/trunk/test/testpoll.c Thu Feb 22 07:15:04 2007
@@ -553,8 +553,13 @@
              (hot_files[1].client_data == (void *)1)));
 }
 
-#define POLLCB_PREREQ do { if (pollcb == NULL) \
-ABTS_NOT_IMPL(tc, "pollcb interface not supported"); return; } while (0)
+#define POLLCB_PREREQ \
+    do { \
+        if (pollcb == NULL) { \
+            ABTS_NOT_IMPL(tc, "pollcb interface not supported"); \
+            return; \
+        } \
+    } while (0)
 
 static void setup_pollcb(abts_case *tc, void *data)
 {



Mime
View raw message