fix mime-type matching (#7882)
This commit is contained in:
parent
40dfb94e0f
commit
95c05a8827
@ -157,7 +157,7 @@ TALER_MHD_xmime_matches (const char *accept_pattern,
|
|||||||
|
|
||||||
for (const char *tok = strtok_r (ap, ",", &sptr);
|
for (const char *tok = strtok_r (ap, ",", &sptr);
|
||||||
NULL != tok;
|
NULL != tok;
|
||||||
tok = strtok_r (NULL, ";", &sptr))
|
tok = strtok_r (NULL, ",", &sptr))
|
||||||
{
|
{
|
||||||
if (mime_matches (tok,
|
if (mime_matches (tok,
|
||||||
mime))
|
mime))
|
||||||
|
Loading…
Reference in New Issue
Block a user