X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=inline;f=commands.c;h=52fe118aab2d64960c3904152e96fa9ff5e84289;hb=7f7a0be369840b290248e5b0302beb447fa1b3cd;hp=de5618278924ee837b6c0bcee612d3d75051df57;hpb=308c7080ccca40d4865d8810f5528331d9ed61ff;p=apps%2Fmadmutt.git 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);