X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fcache.c;h=80534216a9166ea1ec4fc46e7005fefb8d2677d3;hb=32d204f8aa07a3da20abedc490be019d388683b3;hp=464d817a616754009b80045c76379919d299c322;hpb=fa460465ab78c48ace6d8563e6d35917b30fab09;p=ppastats.git diff --git a/src/cache.c b/src/cache.c index 464d817..8053421 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 /* 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_debug(_("memory cache miss %s"), key); return NULL; }