diff options
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -3185,7 +3185,7 @@ int mastoapi_patch_handler(const xs_dict *req, const char *q_path, | |||
| 3185 | const xs_str *k; | 3185 | const xs_str *k; |
| 3186 | const xs_val *v; | 3186 | const xs_val *v; |
| 3187 | const xs_str *field_name = NULL; | 3187 | const xs_str *field_name = NULL; |
| 3188 | xs_dict *new_fields = xs_dict_new(); | 3188 | xs *new_fields = xs_dict_new(); |
| 3189 | while (xs_dict_next(args, &k, &v, &c)) { | 3189 | while (xs_dict_next(args, &k, &v, &c)) { |
| 3190 | if (strcmp(k, "display_name") == 0) { | 3190 | if (strcmp(k, "display_name") == 0) { |
| 3191 | if (v != NULL) | 3191 | if (v != NULL) |