Merge tag 'upstream/1.3.1'
[ppastats-pkg-ubuntu.git] / src / lp_ws.c
index 49166f4..f04f169 100644 (file)
@@ -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);