mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-20 11:19:56 +00:00
mg_next_comma_entry -> mg_comma
This commit is contained in:
1 parent
9b37ac384f
commit
1c456fc2df
9 files changed
+23
-23
No files matched your search
+1
-1
@@ -489,7 +489,7 @@ static struct mg_str guess_content_type(struct mg_str path, const char *extra) {
|
||||
path.len = i;
|
||||
|
||||
// Process user-provided mime type overrides, if any
|
||||
while (mg_next_comma_entry(&s, &k, &v)) {
|
||||
while (mg_comma(&s, &k, &v)) {
|
||||
if (mg_strcmp(path, k) == 0) return v;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user