diff options
author | default <nobody@localhost> | 2023-08-17 18:06:36 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-08-17 18:06:36 +0200 |
commit | 93bdf79eb69d79803a091e2d6583772b40e41f44 (patch) | |
tree | b4cc7299ada89eb008ea287de3afd0a1ae128a30 /xs_mime.h | |
parent | 6ede6497ad2a63e5ff2b57abba827d0da469f923 (diff) |
mastoapi: in instance, return the list of supported mime types from the internal list.
Diffstat (limited to 'xs_mime.h')
-rw-r--r-- | xs_mime.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ const char *xs_mime_by_ext(const char *file) const char **p = xs_mime_types; xs *uext = xs_tolower_i(xs_dup(ext + 1)); - while (**p) { + while (*p) { int c; if ((c = strcmp(*p, uext)) == 0) |