renaming to bpph
[ppastats.git] / src / ppastats.c
index 9f6ddbe..4f321ac 100644 (file)
@@ -234,7 +234,7 @@ create_ppa_stats(const char *owner,
                 const char *package_status)
 {
        struct ppa_stats *ppa;
-       struct binary_package_publishing_history **history, **h_cur, *h;
+       struct bpph **history, **h_cur, *h;
        char *ppa_url, *pkg_name, *pkg_version;
        struct package_stats *pkg;
        struct version_stats *version;
@@ -246,8 +246,7 @@ create_ppa_stats(const char *owner,
        struct daily_download_total **totals;
 
        ppa_url = get_archive_url(owner, ppa_name);
-       history = get_binary_package_publishing_history_list(ppa_url,
-                                                            package_status);
+       history = get_bpph_list(ppa_url, package_status);
        free(ppa_url);
 
        if (!history) {