summaryrefslogtreecommitdiff
path: root/xs_mime.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs_mime.h')
-rw-r--r--xs_mime.h2
1 files changed, 1 insertions, 1 deletions
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)