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 06:54:55 UTC

svn commit: r584673 - /apr/apr/trunk/test/testsockets.c

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