X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flp_ws.c;fp=src%2Flp_ws.c;h=4b51be80b31acd9f86710c86bb7529c45651cdea;hb=4f673b9c3df300c81d8bf73635688dbc249c7a53;hp=d6f4087ffa60584cd8ab4f3a5912d66abf612904;hpb=fbc8b767dd46408c0c4040f3df2d6d8554efb183;p=ppastats.git diff --git a/src/lp_ws.c b/src/lp_ws.c index d6f4087..4b51be8 100644 --- a/src/lp_ws.c +++ b/src/lp_ws.c @@ -149,8 +149,8 @@ get_binary_package_publishing_history_list(const char *archive_url, if (!o) break; - result = list_add_list(result, - (void **)json_object_to_bpph_list(o)); + result = list_append_list(result, + (void **)json_object_to_bpph_list(o)); o_next = json_object_object_get(o, "next_collection_link");