gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r11051 - gnunet/src/hostlist
Date: Fri, 23 Apr 2010 11:14:49 +0200

Author: wachs
Date: 2010-04-23 11:14:49 +0200 (Fri, 23 Apr 2010)
New Revision: 11051

Modified:
   gnunet/src/hostlist/hostlist-client.c
Log:


Modified: gnunet/src/hostlist/hostlist-client.c
===================================================================
--- gnunet/src/hostlist/hostlist-client.c       2010-04-23 08:56:01 UTC (rev 
11050)
+++ gnunet/src/hostlist/hostlist-client.c       2010-04-23 09:14:49 UTC (rev 
11051)
@@ -639,6 +639,23 @@
 {
   CURLMcode mret;
 
+  if ( ( testing_hostlist == GNUNET_YES ) && ( GNUNET_NO == 
download_successful) && (NULL != hostlist_to_test))
+  {
+    GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+                _("Advertised hostlist with URI `%s' could not be downloaded. 
Advertised URI gets dismissed.\n"),hostlist_to_test->hostlist_uri);
+  }
+
+  if ( testing_hostlist == GNUNET_YES )
+    {
+    testing_hostlist = GNUNET_NO;
+    }
+  if ( NULL != hostlist_to_test)
+  {
+    GNUNET_free (hostlist_to_test);
+    hostlist_to_test = NULL;
+  }
+
+
   if (multi != NULL)
     {
       mret = curl_multi_remove_handle (multi, curl);





reply via email to

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