From: Jean-Philippe Orsini Date: Tue, 22 Apr 2014 08:57:54 +0000 (+0200) Subject: fixed line over 80cols. X-Git-Tag: v1.3.1~1 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=ppastats.git;a=commitdiff_plain;h=586361f5da21ef8e34987db0c628af1fb06df6a1 fixed line over 80cols. --- diff --git a/NEWS b/NEWS index 1da6dff..1b09d49 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ v1.3.1 ------ * fixed compilation when cppcheck is not installed. +* fixed line over 80cols. v1.3.0 ------ diff --git a/po/fr.po b/po/fr.po index 3caff03..484fa81 100644 --- a/po/fr.po +++ b/po/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: ppastats 0.0.x\n" "Report-Msgid-Bugs-To: jeanfi@gmail.com\n" -"POT-Creation-Date: 2014-04-22 01:57+0200\n" +"POT-Creation-Date: 2014-04-22 10:57+0200\n" "PO-Revision-Date: 2012-05-05 23:45+0200\n" "Last-Translator: \n" "Language-Team: French\n" @@ -148,7 +148,7 @@ msgstr "" msgid "Failed to retrieve PPA information" msgstr "" -#: src/ppastats.c:373 +#: src/ppastats.c:374 #, c-format msgid "Failed to retrieve download totals for %s" msgstr "" diff --git a/po/ppastats.pot b/po/ppastats.pot index d4f3e61..d161efc 100644 --- a/po/ppastats.pot +++ b/po/ppastats.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: ppastats 1.3.0\n" "Report-Msgid-Bugs-To: jeanfi@gmail.com\n" -"POT-Creation-Date: 2014-04-22 01:57+0200\n" +"POT-Creation-Date: 2014-04-22 10:57+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -138,7 +138,7 @@ msgstr "" msgid "Failed to retrieve PPA information" msgstr "" -#: src/ppastats.c:373 +#: src/ppastats.c:374 #, c-format msgid "Failed to retrieve download totals for %s" msgstr "" diff --git a/src/lp_ws.c b/src/lp_ws.c index 49166f4..f04f169 100644 --- a/src/lp_ws.c +++ b/src/lp_ws.c @@ -409,7 +409,9 @@ static struct daily_download_total **retrieve_ddts(const char *binary_url, ddts = NULL; while (date_since < crt) { - url = create_ddts_query(binary_url, date_since, date_since); + url = create_ddts_query(binary_url, + date_since, + date_since); json = get_json_object(url); free(url); @@ -428,7 +430,8 @@ static struct daily_download_total **retrieve_ddts(const char *binary_url, free(url); if (json) { - tmp = json_object_to_daily_download_totals(json); + tmp = json_object_to_daily_download_totals + (json); json_object_put(json); ddts = ddts_merge(ddts, tmp); free(tmp); diff --git a/src/ppastats.c b/src/ppastats.c index 0990e0f..39b2d87 100644 --- a/src/ppastats.c +++ b/src/ppastats.c @@ -368,7 +368,8 @@ 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, h->date_created); + 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);