diff options
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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) |