X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fppastats.c;h=4232e5341765f75371b9e72e21f1479d638b2549;hb=8fbc54a7960312d1626f4032d5fef5bf8a37db70;hp=4d8b874499127c71c8d51ca1120ce08a0b04e013;hpb=c1699160bcf64cf0b559c713a22720183a9f8934;p=ppastats.git diff --git a/src/ppastats.c b/src/ppastats.c index 4d8b874..4232e53 100644 --- a/src/ppastats.c +++ b/src/ppastats.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 @@ -231,7 +231,8 @@ pkg_add_distro(struct package_stats *pkg, struct ppa_stats * create_ppa_stats(const char *owner, const char *ppa_name, - const char *package_status) + const char *package_status, + int ws_size) { struct ppa_stats *ppa; struct bpph **history, **h_cur, *h; @@ -246,7 +247,7 @@ create_ppa_stats(const char *owner, struct daily_download_total **totals; ppa_url = get_archive_url(owner, ppa_name); - history = get_bpph_list(ppa_url, package_status); + history = get_bpph_list(ppa_url, package_status, ws_size); free(ppa_url); if (!history) {