snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 581b0764fede2eebc5ce4687fcaf11749ecb4e67
parent c00a544b76d6718ea5331464a62d2e19158e9692
Author: default <nobody@localhost>
Date:   Tue, 23 Jan 2024 16:28:52 +0100

Fixed typo.

Diffstat:
Mmastoapi.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mastoapi.c b/mastoapi.c @@ -2595,7 +2595,7 @@ int mastoapi_put_handler(const xs_dict *req, const char *q_path, if (valid_status(timeline_get_by_md5(&snac, md5, &msg))) { const char *content = xs_dict_get(args, "status"); xs *atls = xs_list_new(); - const char *f_content = not_really_markdown(content, &atls); + xs *f_content = not_really_markdown(content, &atls); /* replace fields with new content */ msg = xs_dict_set(msg, "sourceContent", content);