fix mime-type matching (#7882)

This commit is contained in:
Christian Grothoff 2023-07-05 18:19:54 +02:00
parent 40dfb94e0f
commit 95c05a8827
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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))