summaryrefslogtreecommitdiffstats
path: root/buffy.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-08-03 08:05:30 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-08-03 08:05:30 +0000
commited7b814a504df9032b44ad73d75e6f4304c5a322 (patch)
tree47ad7421448c7c277beaa0cd0bb128f35b975eed /buffy.c
parentcf99e5355a518eb9adb1269459b8b52706f3100e (diff)
MH buffy.
Diffstat (limited to 'buffy.c')
-rw-r--r--buffy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/buffy.c b/buffy.c
index cb5e35fb..997ac70c 100644
--- a/buffy.c
+++ b/buffy.c
@@ -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)