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