memset(&entry, ' ', sizeof(entry));
#if USE_IMAP
- if (l > 0 && str_ncmp (box, ImapHomeNamespace, l) == 0 &&
+ if (l > 0 && m_strncmp(box, ImapHomeNamespace, l) == 0 &&
m_strlen(box) > l)
box += l + 1; /* we're trimming the ImapHomeNamespace, the "+ 1" is for the separator */
else
#endif
- if (l_m > 0 && str_ncmp (box, Maildir, l_m) == 0 &&
+ if (l_m > 0 && m_strncmp(box, Maildir, l_m) == 0 &&
m_strlen(box) > l_m) {
box += l_m;
if (Maildir[strlen(Maildir)-1]!='/') {
m_strcpy(entry, len - lencnt, box);
entry[m_strlen(entry)] = ' ';
- m_strcpy(entry + (len - lencnt), lencnt, no);
+ memcpy(entry + (len - lencnt), no, lencnt);
addnstr (entry, len);