mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-26 06:53:37 +00:00
Fixed typo.
This commit is contained in:
parent
c00a544b76
commit
581b0764fe
1 changed files with 1 additions and 1 deletions
|
@ -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))) {
|
if (valid_status(timeline_get_by_md5(&snac, md5, &msg))) {
|
||||||
const char *content = xs_dict_get(args, "status");
|
const char *content = xs_dict_get(args, "status");
|
||||||
xs *atls = xs_list_new();
|
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 */
|
/* replace fields with new content */
|
||||||
msg = xs_dict_set(msg, "sourceContent", content);
|
msg = xs_dict_set(msg, "sourceContent", content);
|
||||||
|
|
Loading…
Reference in a new issue