summaryrefslogtreecommitdiff
path: root/content/hlcache.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-11-20 15:25:33 +0000
committerVincent Sanders <vince@kyllikki.org>2016-11-20 15:25:33 +0000
commit9ff13d64c4ea9b3539f9b162bc8c70f2a30f288e (patch)
treeb08252cb465c972295d27bb6eabdcbf66f40b1fe /content/hlcache.c
parent8828bdc7021714621ebef63e847c2998658b4863 (diff)
downloadnetsurf-9ff13d64c4ea9b3539f9b162bc8c70f2a30f288e.tar.gz
netsurf-9ff13d64c4ea9b3539f9b162bc8c70f2a30f288e.tar.bz2
fix spelling mistakes in hlcache code
Diffstat (limited to 'content/hlcache.c')
-rw-r--r--content/hlcache.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/content/hlcache.c b/content/hlcache.c
index 042e1895e..95edd2120 100644
--- a/content/hlcache.c
+++ b/content/hlcache.c
@@ -16,8 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/** \file
- * High-level resource cache (implementation)
+/**
+ * \file
+ * High-level resource cache implementation.
*/
#include <assert.h>
@@ -86,7 +87,7 @@ struct hlcache_s {
/** Ring of retrieval contexts */
hlcache_retrieval_ctx *retrieval_ctx_ring;
- /* statsistics */
+ /* statistics */
unsigned int hit_count;
unsigned int miss_count;
};
@@ -665,12 +666,12 @@ nserror hlcache_handle_retrieve(nsurl *url, uint32_t flags,
hlcache_llcache_callback, ctx,
&ctx->llcache);
if (error != NSERROR_OK) {
- /* error retriving handle so free context and return error */
+ /* error retrieving handle so free context and return error */
free((char *) ctx->child.charset);
free(ctx->handle);
free(ctx);
} else {
- /* successfuly started fetch so add new context to list */
+ /* successfully started fetch so add new context to list */
RING_INSERT(hlcache->retrieval_ctx_ring, ctx);
*result = ctx->handle;