apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r584679 - /apr/apr/branches/1.2.x/test/testsockets.c
Date Mon, 15 Oct 2007 05:19:09 GMT
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
 



Mime
View raw message