summaryrefslogtreecommitdiff
path: root/content/llcache.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-12-04 16:38:11 +0000
committerVincent Sanders <vince@kyllikki.org>2014-12-04 21:09:42 +0000
commit45f98ffd6e6230189a06a042b981592cdae613be (patch)
tree09c29923a8e3bd85017b0f55cfd064a36f513ca2 /content/llcache.c
parent0166083584ba8c909ff3518661648334ad9f53cf (diff)
downloadnetsurf-45f98ffd6e6230189a06a042b981592cdae613be.tar.gz
netsurf-45f98ffd6e6230189a06a042b981592cdae613be.tar.bz2
improve comments in low level cache and remove completed todo
Diffstat (limited to 'content/llcache.c')
-rw-r--r--content/llcache.c8
1 files 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 <stdlib.h>
@@ -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
*/
}