Imported Upstream version 1.3.0
[ppastats-pkg-ubuntu.git] / src / ppastats.c
index a03ecf0..0990e0f 100644 (file)
@@ -368,7 +368,7 @@ create_ppa_stats(const char *owner,
 
        for (h_cur = history; *h_cur; ++h_cur) {
                h = *h_cur;
-               totals = get_daily_download_totals(h->self_link);
+               totals = get_daily_download_totals(h->self_link, h->date_created);
                if (!totals) {
                        log_err(_("Failed to retrieve download totals for %s"),
                                h->self_link);