aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-14 07:23:11 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-14 07:23:11 +0000
commita0b178aa52170a1f8f6582f8541f4c91be943154 (patch)
tree5e0c7f6adc8ddeb084a2ccfe93fa5ef454861853 /src/hostlist
parent662b5736c37e8cf2b3e6aa5af53cef0d03b743ab (diff)
downloadgnunet-a0b178aa52170a1f8f6582f8541f4c91be943154.tar.gz
gnunet-a0b178aa52170a1f8f6582f8541f4c91be943154.zip
LRN: Use GNUNET_strdup() instead of strdup()
Diffstat (limited to 'src/hostlist')
-rw-r--r--src/hostlist/hostlist-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c
index 3343b7a49..1cc5836af 100644
--- a/src/hostlist/hostlist-client.c
+++ b/src/hostlist/hostlist-client.c
@@ -443,7 +443,7 @@ download_get_url ()
443 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 443 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
444 "Testing new advertised hostlist if it is obtainable\n"); 444 "Testing new advertised hostlist if it is obtainable\n");
445 current_hostlist = hostlist_to_test; 445 current_hostlist = hostlist_to_test;
446 return strdup (hostlist_to_test->hostlist_uri); 446 return GNUNET_strdup (hostlist_to_test->hostlist_uri);
447 } 447 }
448 448
449 if ((GNUNET_YES == stat_use_bootstrap) || (linked_list_size == 0)) 449 if ((GNUNET_YES == stat_use_bootstrap) || (linked_list_size == 0))
@@ -465,7 +465,7 @@ download_get_url ()
465 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using learned hostlist `%s'\n", 465 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using learned hostlist `%s'\n",
466 pos->hostlist_uri); 466 pos->hostlist_uri);
467 current_hostlist = pos; 467 current_hostlist = pos;
468 return strdup (pos->hostlist_uri); 468 return GNUNET_strdup (pos->hostlist_uri);
469} 469}
470 470
471 471