Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Jul 2, 2020
1 parent 162b8fe commit 97ab987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mimetypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 97ab987

Please sign in to comment.