From 45f98ffd6e6230189a06a042b981592cdae613be Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 4 Dec 2014 16:38:11 +0000 Subject: [PATCH] improve comments in low level cache and remove completed todo --- content/llcache.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/llcache.c b/content/llcache.c index 6a0c096f5..e5d188e66 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -29,8 +29,6 @@ * * \todo instrument and (auto)tune * - * \todo Improve writeout bandwidth limiting. - * */ #include @@ -1555,7 +1553,9 @@ llcache_object_retrieve_from_cache(nsurl *url, if (error == NSERROR_OK) { LLCACHE_LOG(("retrived object from persistant store")); - /* set object from persistant store as newest */ + /* set newest object from persistant store which + * will cause the normal object handling to be used. + */ newest = obj; /* Add new object to cached object list */ @@ -1563,7 +1563,7 @@ llcache_object_retrieve_from_cache(nsurl *url, } /* else no object found and unretrivable from cache, - * fall through to start fetch + * fall through with newest unset to start fetch */ }