summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 4fdc600..19db3cd 100644
--- 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);