X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_cache_api.c;h=0cab6d9d6744697b47df352466421814d06560e0;hp=c7196c1891acb0018cadadce19e1cde8bcedff5f;hb=c07ee6eaef449abb292bb84d5ba61c19a467e184;hpb=bb9aedc2855f63da858d3c92e2863e7d9ed72a77 diff --git a/http_cache_api.c b/http_cache_api.c index c7196c1..0cab6d9 100644 --- a/http_cache_api.c +++ b/http_cache_api.c @@ -48,7 +48,7 @@ STATUS _http_cache_global_init(INIT_FUNC_ARGS) { int l, i, c = mhash_count(); - for (i = 0; i < c; ++i) { + for (i = 0; i <= c; ++i) { char const_name[256] = {0}; const char *hash_name = mhash_get_hash_name_static(i);