commit b96fa8fe23277bee0c42d55dae506449d83909bc from: Omar Polo date: Wed Jan 19 19:47:07 2022 UTC use parser_init instead of directly calling the parser init fn commit - bf5b33f40e876afe41fd486ff5d3eb182dfaf046 commit + b96fa8fe23277bee0c42d55dae506449d83909bc blob - 64698309b123ee44365ec724e015ebbdb10a518b blob + a01c8522f771678381c7403b2105b8363ad9f0f2 --- mime.c +++ mime.c @@ -86,7 +86,7 @@ setup_parser_for(struct tab *tab) for (t = ptable; t->mediatype != NULL; ++t) { if (!fnmatch(t->mediatype, buf, 0)) { - t->parserinit(&tab->buffer.page); + parser_init(tab, t->parserinit); return 1; } }