From 93bdf79eb69d79803a091e2d6583772b40e41f44 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 17 Aug 2023 18:06:36 +0200 Subject: mastoapi: in instance, return the list of supported mime types from the internal list. --- xs_mime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xs_mime.h') diff --git a/xs_mime.h b/xs_mime.h index 2c8eaa9..cab341c 100644 --- a/xs_mime.h +++ b/xs_mime.h @@ -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) -- cgit