break;
case 'N':
- if (imap_is_magic (folder->ff->desc, NULL) == M_IMAP) {
+ if (imap_mx.mx_is_magic (folder->ff->desc, NULL) == M_IMAP) {
if (!optional) {
snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
snprintf (dest, destlen, tmp, folder->ff->new);
if (*f) {
mutt_expand_path (f, flen);
- if (imap_is_magic (f, NULL) == M_IMAP) {
+ if (imap_mx.mx_is_magic (f, NULL) == M_IMAP) {
init_state (&state, NULL);
state.imap_browse = 1;
if (!imap_browse (f, &state))
else if (!LastDir[0])
m_strcpy(LastDir, sizeof(LastDir), NONULL(Maildir));
- if (!buffy && imap_is_magic (LastDir, NULL) == M_IMAP) {
+ if (!buffy && imap_mx.mx_is_magic (LastDir, NULL) == M_IMAP) {
init_state (&state, NULL);
state.imap_browse = 1;
imap_browse (LastDir, &state);
buf[0]) {
buffy = 0;
mutt_expand_path (buf, sizeof (buf));
- if (imap_is_magic (buf, NULL) == M_IMAP) {
+ if (imap_mx.mx_is_magic (buf, NULL) == M_IMAP) {
m_strcpy(LastDir, sizeof(LastDir), buf);
destroy_state (&state);
init_state (&state, NULL);
if (examine_mailboxes (menu, &state) == -1)
goto bail;
}
- else if (imap_is_magic (LastDir, NULL) == M_IMAP) {
+ else if (imap_mx.mx_is_magic (LastDir, NULL) == M_IMAP) {
init_state (&state, NULL);
state.imap_browse = 1;
imap_browse (LastDir, &state);