summaryrefslogtreecommitdiff
path: root/src/cache.c
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2014-06-24 08:20:18 -0400
committerJorge Arellano Cid <jcid@dillo.org>2014-06-24 08:20:18 -0400
commitd4b1ef469fa0362035e55365923916a40998dc84 (patch)
tree25ad4291f6ac5fe1a0fc9a2f0f6dec962004b19b /src/cache.c
parent855bdb7290c4d82af4831596d39b73efe2a0f6dc (diff)
Reimplemented the Dicache using dlib ADTs
For a long time it had a custom ADT with a list of nodes and each node a linked list (with pointers). The last memory bug motivated me to try to normalize it to use dlib. Now, it got simpler, shorter, and possibly faster (although conversion wasn't a simple task). PD: It also uses less memory now.
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index 6a7d2748..c4bc1f9b 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -110,7 +110,7 @@ static int Cache_entry_by_url_cmp(const void *v1, const void *v2)
}
/*
- * Initialize dicache data
+ * Initialize cache data
*/
void a_Cache_init(void)
{