summaryrefslogtreecommitdiff
path: root/src/mhd/mhd_legal.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-05 18:20:58 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-05 18:20:58 +0200
commit11ea6fcfcee3958733309192300760ac5f693251 (patch)
treeae35c93837b64044affcd6ac30ec29ab3704378f /src/mhd/mhd_legal.c
parentf2c34438603ade59412645956e70a761d5f1b9f4 (diff)
downloadexchange-11ea6fcfcee3958733309192300760ac5f693251.tar.gz
exchange-11ea6fcfcee3958733309192300760ac5f693251.tar.bz2
exchange-11ea6fcfcee3958733309192300760ac5f693251.zip
fix mime-type matching (#7882)
Diffstat (limited to 'src/mhd/mhd_legal.c')
-rw-r--r--src/mhd/mhd_legal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index f3c16ad73..dfda58ac9 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -131,7 +131,7 @@ mime_matches (const char *accept_pattern,
if ( (NULL == da) ||
(NULL == dm) )
return (0 == strcmp ("*", accept_pattern));
- /* Note: technically, we might want to parse the "q=$FLOAT"
+ /* FIXME: eventually, we might want to parse the "q=$FLOAT"
part after the ';' and figure out which one is the
best/preferred match instead of returning a boolean... */
end = strchr (da, ';');