Fix header references
FossilOrigin-Name: 9c2e088cf2a8c04200bc071ae0d4b135a6fa5f4ffe51c061e5026816bca3ee5e
This commit is contained in:
parent
fbbdb02add
commit
e427513a2d
1 changed files with 11 additions and 11 deletions
22
src/status.c
22
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,
|
||||
|
|
Loading…
Reference in a new issue