many simplifications, copyright statements.
[apps/madmutt.git] / lib-mime / mime-token.sh
index bb55179..17ed4c1 100644 (file)
@@ -49,7 +49,7 @@ EOF
 }
 
 do_c() {
-    cat <<EOF | gperf --ignore-case -l -t -C -F,0
+    cat <<EOF | gperf --ignore-case -m16 -l -t -C -F",0" -Nmime_which_token_aux
 %{
 `do_hdr`
 
@@ -70,7 +70,7 @@ enum mime_token mime_which_token(const char *s, ssize_t len) {
     if (!len)
         return MUTT_MIME_TOKEN_UNKNOWN;
 
-    res = in_word_set(s, len);
+    res = mime_which_token_aux(s, len);
     return res ? res->val : MUTT_MIME_TOKEN_UNKNOWN;
 }
 EOF