aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-04-23 09:14:49 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-04-23 09:14:49 +0000
commit0f57c399aa3ed953cd86243d85a03590e3a3c7bb (patch)
tree96a5db35fbe64b45565478a71e92d4326635a136
parent411d31e63045df8b9e26e5832c2d021939892397 (diff)
-rw-r--r--src/hostlist/hostlist-client.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c
index 2f66df95d6..141e904c4e 100644
--- a/src/hostlist/hostlist-client.c
+++ b/src/hostlist/hostlist-client.c
@@ -639,6 +639,23 @@ clean_up ()
{
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);