diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2001-08-03 08:05:30 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2001-08-03 08:05:30 +0000 |
commit | ed7b814a504df9032b44ad73d75e6f4304c5a322 (patch) | |
tree | 47ad7421448c7c277beaa0cd0bb128f35b975eed /buffy.c | |
parent | cf99e5355a518eb9adb1269459b8b52706f3100e (diff) |
MH buffy.
Diffstat (limited to 'buffy.c')
-rw-r--r-- | buffy.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -336,12 +336,8 @@ int mutt_buffy_check (int force) break; case M_MAILDIR: - case M_MH: - if(tmp->magic == M_MAILDIR) - snprintf (path, sizeof (path), "%s/new", tmp->path); - else - strfcpy (path, tmp->path, sizeof(path)); + snprintf (path, sizeof (path), "%s/new", tmp->path); if ((dirp = opendir (path)) == NULL) { tmp->magic = 0; @@ -360,6 +356,10 @@ int mutt_buffy_check (int force) closedir (dirp); break; + case M_MH: + tmp->new = mh_buffy (tmp->path); + break; + #ifdef USE_IMAP case M_IMAP: if ((tmp->new = imap_mailbox_check (tmp->path, 1)) > 0) |