From e427513a2d6096efe2fc6200cfe36f28665b26f7 Mon Sep 17 00:00:00 2001 From: "me@ow.nekobit.net" Date: Fri, 18 Mar 2022 03:34:05 +0000 Subject: [PATCH] Fix header references FossilOrigin-Name: 9c2e088cf2a8c04200bc071ae0d4b135a6fa5f4ffe51c061e5026816bca3ee5e --- src/status.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/status.c b/src/status.c index 7ab5c4e..ca3348a 100644 --- a/src/status.c +++ b/src/status.c @@ -237,10 +237,10 @@ int mastodont_reblog_status(mastodont_t* data, return mastodont_request(data, &req_args); } -int mastodont_view_status(mastodont_t* data, - char* id, - struct mstdnt_storage* storage, - struct mstdnt_status* status) +int mastodont_get_status(mastodont_t* data, + char* id, + struct mstdnt_storage* storage, + struct mstdnt_status* status) { char url[MSTDNT_URLSIZE]; snprintf(url, MSTDNT_URLSIZE, "api/v1/statuses/%s", id); @@ -340,13 +340,13 @@ int _mstdnt_status_context_from_result_callback(struct mstdnt_fetch_results* res args->size_after); } -int mastodont_status_context(mastodont_t* data, - char* id, - struct mstdnt_storage* storage, - struct mstdnt_status* statuses_before[], - struct mstdnt_status* statuses_after[], - size_t* size_before, - size_t* size_after) +int mastodont_get_status_context(mastodont_t* data, + char* id, + struct mstdnt_storage* storage, + struct mstdnt_status* statuses_before[], + struct mstdnt_status* statuses_after[], + size_t* size_before, + size_t* size_after) { struct _mstdnt_status_context_result_cb_args args = { statuses_before,