#include "buffy.h"
#endif
+#include "lib/mem.h"
+#include "lib/intl.h"
+#include "lib/str.h"
+
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
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'))
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);