X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fcache.c;h=10ac3b73bbaf356f1cf6cc500dada3cf5ee9a83a;hb=d79b9626414f0543612545c498c560108a388e9b;hp=464d817a616754009b80045c76379919d299c322;hpb=fa460465ab78c48ace6d8563e6d35917b30fab09;p=ppastats.git diff --git a/src/cache.c b/src/cache.c index 464d817..10ac3b7 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2012 jeanfi@gmail.com + * Copyright (C) 2011-2014 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -20,14 +20,14 @@ #include #define _(String) gettext(String) +#include +#include #include -#include "cache.h" -#include "log.h" -#include "ppastats.h" +#include +#include +#include -#include -#include /* Simple cache implementation but should be enough for storing LP data. @@ -59,7 +59,7 @@ const void *cache_get(const char *key) return cache.entries[i].value; } - log_debug(_("cache miss %s"), key); + log_fct(_("memory cache miss %s"), key); return NULL; }