X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=rfc2231.c;h=0fcc85753ba8a712723d199fa2d80ada51abfa62;hp=81ac7351d1924e8f2d4070ca124e2cfd94b487e5;hb=8376ae73a59f4a6075ab91bf99fe97b394a58d79;hpb=841934011451205d8295ac955486f06c317fdf15 diff --git a/rfc2231.c b/rfc2231.c index 81ac735..0fcc857 100644 --- a/rfc2231.c +++ b/rfc2231.c @@ -24,9 +24,12 @@ #include "mutt.h" #include "mime.h" #include "charset.h" +#include "lib/str.h" #include "rfc2047.h" #include "rfc2231.h" +#include "lib/mem.h" + #include #include #include @@ -227,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; } @@ -276,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)