X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=7f2c75dc028a428dc85bbd831cfceeebb2cfcc58;hp=5626cb8028b79e9f6729acdc728504d951db2632;hb=841934011451205d8295ac955486f06c317fdf15;hpb=01a3f4d932ddfc7f4a58f820d343f4a6f3b0f824;ds=sidebyside diff --git a/commands.c b/commands.c index 5626cb8..7f2c75d 100644 --- a/commands.c +++ b/commands.c @@ -873,8 +873,8 @@ int mutt_update_list_file (char *filename, char *section, char *key, done++; break; } - else if (key && !strncmp (buf, key, strlen (key)) && - (!*key || buf[strlen (key)] == ' ')) { + else if (key && !strncmp (buf, key, mutt_strlen (key)) && + (!*key || buf[mutt_strlen (key)] == ' ')) { c = buf; ext = 0; while (*c && (*c != '\r') && (*c != '\n')) @@ -943,7 +943,7 @@ void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp) size_t l; for (p = b->parameter; p; p = p->next) { - l = strlen (buf); + l = mutt_strlen (buf); rfc822_cat (tmp, sizeof (tmp), p->value, MimeSpecials); snprintf (buf + l, sizeof (buf) - l, "; %s=%s", p->attribute, tmp);