X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=52fe118aab2d64960c3904152e96fa9ff5e84289;hp=a6a92e8655f14eb13dabed7a84212ebff0f29520;hb=7f7a0be369840b290248e5b0302beb447fa1b3cd;hpb=617e7d83d14e14e6a520a48e75437211b16c8834 diff --git a/commands.c b/commands.c index a6a92e8..52fe118 100644 --- a/commands.c +++ b/commands.c @@ -14,6 +14,8 @@ #include +#include + #include "mutt.h" #include "enter.h" #include "recvattach.h" @@ -40,8 +42,6 @@ #include "buffy.h" #endif -#include "lib/intl.h" -#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);