apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r584673 - /apr/apr/trunk/test/testsockets.c
Date Mon, 15 Oct 2007 04:54:55 GMT
Author: wrowe
Date: Sun Oct 14 21:54:54 2007
New Revision: 584673

URL: http://svn.apache.org/viewvc?rev=584673&view=rev
Log:
Reset (tc->)failed so we see the second failure message.

Reported by: Lucian Adrian Grijincu <lucian.grijincu gmail.com>

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

Modified: apr/apr/trunk/test/testsockets.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testsockets.c?rev=584673&r1=584672&r2=584673&view=diff
==============================================================================
--- apr/apr/trunk/test/testsockets.c (original)
+++ apr/apr/trunk/test/testsockets.c Sun Oct 14 21:54:54 2007
@@ -166,7 +166,7 @@
 {
     int failed;
     sendto_receivefrom_helper(tc, "127.0.0.1",  "127.1.2.3", APR_INET);
-    failed = tc->failed; failed = 0;
+    failed = tc->failed; tc->failed = 0;
     ABTS_TRUE(tc, failed);
 }
 
@@ -175,7 +175,7 @@
 {
     int failed;
     sendto_receivefrom_helper(tc, "::1", "FA0E::1234:127.1.2.3", APR_INET6);
-    failed = tc->failed; failed = 0;
+    failed = tc->failed; tc->failed = 0;
     ABTS_TRUE(tc, failed);
 }
 #endif



Mime
View raw message