summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar Louis Brauer2024-05-30 22:38:05 +0000
committerGravatar Louis Brauer2024-05-30 22:38:05 +0000
commitac3b5dcbd472b533ec543331692921b804fd02e4 (patch)
tree617f5c6a099298a92fe7ff2ca42543b933905d4e /mastoapi.c
parentImplement instance announcements (diff)
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-ac3b5dcbd472b533ec543331692921b804fd02e4.tar.gz
snac2-ac3b5dcbd472b533ec543331692921b804fd02e4.tar.xz
snac2-ac3b5dcbd472b533ec543331692921b804fd02e4.zip
Merge branch 'master' into announcements
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 00ea26a..03d081d 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -3215,7 +3215,7 @@ int mastoapi_patch_handler(const xs_dict *req, const char *q_path,
3215 const xs_str *k; 3215 const xs_str *k;
3216 const xs_val *v; 3216 const xs_val *v;
3217 const xs_str *field_name = NULL; 3217 const xs_str *field_name = NULL;
3218 xs_dict *new_fields = xs_dict_new(); 3218 xs *new_fields = xs_dict_new();
3219 while (xs_dict_next(args, &k, &v, &c)) { 3219 while (xs_dict_next(args, &k, &v, &c)) {
3220 if (strcmp(k, "display_name") == 0) { 3220 if (strcmp(k, "display_name") == 0) {
3221 if (v != NULL) 3221 if (v != NULL)