diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-11-20 15:25:33 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-11-20 15:25:33 +0000 |
commit | 9ff13d64c4ea9b3539f9b162bc8c70f2a30f288e (patch) | |
tree | b08252cb465c972295d27bb6eabdcbf66f40b1fe /content/hlcache.c | |
parent | 8828bdc7021714621ebef63e847c2998658b4863 (diff) | |
download | netsurf-9ff13d64c4ea9b3539f9b162bc8c70f2a30f288e.tar.gz |
fix spelling mistakes in hlcache code
Diffstat (limited to 'content/hlcache.c')
-rw-r--r-- | content/hlcache.c | 11 |
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; |