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);