mg_comma -> mg_commalist

This commit is contained in:
Sergey Lyubka committed 2021-08-28 06:54:56 +01:00
1 parent 714b7a8145
commit bd64043377
9 files changed
+64 -59

No files matched your search

+1 -1
View File
@@ -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_comma(&s, &k, &v)) {
while (mg_commalist(&s, &k, &v)) {
if (mg_strcmp(path, k) == 0) return v;
}