diff --git a/src/mimetypes.c b/src/mimetypes.c index ec16173..5c3f243 100644 --- a/src/mimetypes.c +++ b/src/mimetypes.c @@ -27,7 +27,7 @@ #include "mimetypes.h" -static const struct mimetype uh_mime_types[] = { +static const struct mimetype mime_types[] = { { "txt", "text/plain" }, { "log", "text/plain" }, { "js", "text/javascript" }, @@ -96,7 +96,7 @@ static const struct mimetype uh_mime_types[] = { const char *file_mime_lookup(const char *path) { - const struct mimetype *m = &uh_mime_types[0]; + const struct mimetype *m = &mime_types[0]; const char *e; while (m->extn) {