X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=rfc2231.c;h=0fcc85753ba8a712723d199fa2d80ada51abfa62;hp=15da1f1326d7e81b96a1a4f562549d1c68c4c558;hb=2c522cac0278dd774896f25048da2c5cc1d9cf99;hpb=74a2265af51ce89bca845adc1d68f273c9933c13 diff --git a/rfc2231.c b/rfc2231.c index 15da1f1..0fcc857 100644 --- a/rfc2231.c +++ b/rfc2231.c @@ -24,6 +24,7 @@ #include "mutt.h" #include "mime.h" #include "charset.h" +#include "lib/str.h" #include "rfc2047.h" #include "rfc2231.h" @@ -229,7 +230,7 @@ static void rfc2231_list_insert (struct rfc2231_parameter **list, q = p; p = p->next; - c = strcmp (par->value, q->value); + c = mutt_strcmp (par->value, q->value); if ((c > 0) || (c == 0 && par->index >= q->index)) break; } @@ -278,7 +279,7 @@ static void rfc2231_join_continuations (PARAMETER ** head, rfc2231_free_parameter (&par); if ((par = q)) valp = par->value; - } while (par && !strcmp (par->attribute, attribute)); + } while (par && !mutt_strcmp (par->attribute, attribute)); if (value) { if (encoded)