apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1309336 - /apr/apr/trunk/test/testsockets.c
Date Wed, 04 Apr 2012 11:34:44 GMT
Author: mturk
Date: Wed Apr  4 11:34:44 2012
New Revision: 1309336

URL: http://svn.apache.org/viewvc?rev=1309336&view=rev
Log:
Add testsuite for r1309332 fix

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=1309336&r1=1309335&r2=1309336&view=diff
==============================================================================
--- apr/apr/trunk/test/testsockets.c (original)
+++ apr/apr/trunk/test/testsockets.c Wed Apr  4 11:34:44 2012
@@ -131,6 +131,10 @@ static void sendto_receivefrom_helper(ab
     APR_ASSERT_SUCCESS(tc, "Could not bind socket", rv);
     if (rv != APR_SUCCESS)
         return;
+    rv = apr_mcast_hops(sock, 10);
+    APR_ASSERT_SUCCESS(tc, "Could not set multicast hops", rv);
+    if (rv != APR_SUCCESS)
+        return;
 
     rv = apr_socket_bind(sock2, from);
     APR_ASSERT_SUCCESS(tc, "Could not bind second socket", rv);



Mime
View raw message