break;
case 'r':
if (*p) {
- strncpy (tmp, p, sizeof (tmp));
+ m_strcpy(tmp, sizeof(tmp), p);
mutt_expand_path (tmp, sizeof (tmp));
buf = be_snarf_file (tmp, buf, &bufmax, &buflen, 1);
}
else if (m_strcmp(".", tmp) == 0)
done = 1;
else {
- str_cat (tmp, sizeof (tmp), "\n");
+ m_strcat(tmp, sizeof(tmp), "\n");
if (buflen == bufmax)
p_realloc(&buf, bufmax += 25);
buf[buflen++] = m_strdup(tmp[1] == '~' ? tmp + 1 : tmp);