X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=52fe118aab2d64960c3904152e96fa9ff5e84289;hp=de5618278924ee837b6c0bcee612d3d75051df57;hb=7f7a0be369840b290248e5b0302beb447fa1b3cd;hpb=9a1efcc01ddeca4106847f8eb28a704aca2dcf0b diff --git a/commands.c b/commands.c index de56182..52fe118 100644 --- a/commands.c +++ b/commands.c @@ -13,6 +13,7 @@ #endif #include + #include #include "mutt.h" @@ -41,7 +42,6 @@ #include "buffy.h" #endif -#include "lib/str.h" #include "lib/debug.h" #include @@ -859,7 +859,7 @@ void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp) size_t l; for (p = b->parameter; p; p = p->next) { - l = str_len (buf); + l = m_strlen(buf); rfc822_cat (tmp, sizeof (tmp), p->value, MimeSpecials); snprintf (buf + l, sizeof (buf) - l, "; %s=%s", p->attribute, tmp);