X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flp_ws.c;h=0dce1402287d8fd5d847565801292c8ea3b13dd1;hb=f534061fc8230481a3ca40abc1d1e9b79d3c4976;hp=8e661672f59bfa451ed891e00f8cf0118b0869f5;hpb=9a8af404ffbfb331575dc4b37b044d49d728be8b;p=ppastats.git diff --git a/src/lp_ws.c b/src/lp_ws.c index 8e66167..0dce140 100644 --- a/src/lp_ws.c +++ b/src/lp_ws.c @@ -32,10 +32,11 @@ #include "fcache.h" #include "http.h" #include "list.h" -#include "log.h" #include "lp_ws.h" #include "lp_json.h" +#include #include "ppastats.h" +#include /** Default ws.size value for the getPublishedBinaries request. */ static const int DEFAULT_WS_SIZE = 150; @@ -119,7 +120,7 @@ static char *get_last_creation_date(struct bpph **list) } if (last) - return time_to_str(last); + return time_to_str(&last); else return NULL; }