X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fcache.c;h=a25c47dfc1f9e34f03db5e8f79b0604de866488e;hb=f534061fc8230481a3ca40abc1d1e9b79d3c4976;hp=464d817a616754009b80045c76379919d299c322;hpb=fa460465ab78c48ace6d8563e6d35917b30fab09;p=ppastats.git diff --git a/src/cache.c b/src/cache.c index 464d817..a25c47d 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 #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; }