Skip to content

Commit

Permalink
fixed bug in get_builtin_mime_type() where it wouldn't deliver the …
Browse files Browse the repository at this point in the history
…user-specified default mime type when no match is found in the built-in mime lookup table.
  • Loading branch information
GerHobbelt committed Apr 24, 2015
1 parent dc103e8 commit e829965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongoose.c
Expand Up @@ -4350,7 +4350,7 @@ static const char *get_builtin_mime_type(const char *path, const char *default_m
}
}

return NULL;
return default_mime_type;
}

// Look at the "path" extension and figure what mime type it has.
Expand Down

0 comments on commit e829965

Please sign in to comment.