You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/10/15 07:19:09 UTC

svn commit: r584679 - /apr/apr/branches/1.2.x/test/testsockets.c

Author: wrowe
Date: Sun Oct 14 22:19:08 2007
New Revision: 584679

URL: http://svn.apache.org/viewvc?rev=584679&view=rev
Log:
Erm, we should /not/ fail.

Backports 584678

Modified:
    apr/apr/branches/1.2.x/test/testsockets.c

Modified: apr/apr/branches/1.2.x/test/testsockets.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/test/testsockets.c?rev=584679&r1=584678&r2=584679&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/test/testsockets.c (original)
+++ apr/apr/branches/1.2.x/test/testsockets.c Sun Oct 14 22:19:08 2007
@@ -182,7 +182,7 @@
     int failed;
     sendto_receivefrom_helper(tc, "127.0.0.1",  "127.1.2.3", APR_INET);
     failed = tc->failed; tc->failed = 0;
-    ABTS_TRUE(tc, failed);
+    ABTS_TRUE(tc, !failed);
 }
 
 #if APR_HAVE_IPV6
@@ -191,7 +191,7 @@
     int failed;
     sendto_receivefrom_helper(tc, "::1", "FA0E::1234:127.1.2.3", APR_INET6);
     failed = tc->failed; tc->failed = 0;
-    ABTS_TRUE(tc, failed);
+    ABTS_TRUE(tc, !failed);
 }
 #endif