From: Matthias Wachs Date: Fri, 23 Apr 2010 13:19:24 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~22015 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bf6e480c1dda383bd55b311039d8d41189c5feea;p=oweals%2Fgnunet.git --- diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index 54fb8db27..81e85a54a 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c @@ -518,7 +518,10 @@ linked_list_contains (const char * uri) } -/* linked_list_? */ +/** + * Method returning the uri with the lowest quality in the datastore + * @return hostlist with lowest quality + */ static struct Hostlist * linked_list_get_lowest_quality ( ) { @@ -540,9 +543,7 @@ linked_list_get_lowest_quality ( ) /** - * Task that checks if we should try to download a hostlist. - * If so, we initiate the download, otherwise we schedule - * this task again for a later time. + * Method to insert a hostlist into the datastore. If datastore contains maximum number of elements, the elements with lowest quality is dismissed */ static void insert_hostlist ( void )