From bf6e480c1dda383bd55b311039d8d41189c5feea Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 23 Apr 2010 13:19:24 +0000 Subject: [PATCH] --- src/hostlist/hostlist-client.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 ) -- 2.25.1