gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r9701 - gnunet/src/hostlist


From: gnunet
Subject: [GNUnet-SVN] r9701 - gnunet/src/hostlist
Date: Sat, 5 Dec 2009 12:52:01 +0100

Author: grothoff
Date: 2009-12-05 12:52:01 +0100 (Sat, 05 Dec 2009)
New Revision: 9701

Modified:
   gnunet/src/hostlist/hostlist-client.c
Log:
support http redirect

Modified: gnunet/src/hostlist/hostlist-client.c
===================================================================
--- gnunet/src/hostlist/hostlist-client.c       2009-12-05 11:51:05 UTC (rev 
9700)
+++ gnunet/src/hostlist/hostlist-client.c       2009-12-05 11:52:01 UTC (rev 
9701)
@@ -460,6 +460,8 @@
       clean_up ();
       return;
     }
+  CURL_EASY_SETOPT (curl, CURLOPT_FOLLOWLOCATION, 1);
+  /* no need to abort if the above failed */
   CURL_EASY_SETOPT (curl, 
                    CURLOPT_URL, 
                    current_url);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]