You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2007/02/22 16:15:05 UTC

svn commit: r510542 - /apr/apr/trunk/test/testpoll.c

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)
 {