]> granicus.if.org Git - neomutt/commitdiff
Another little MH buffy bug. From Len Lattanzi
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 6 Aug 2001 09:04:46 +0000 (09:04 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 6 Aug 2001 09:04:46 +0000 (09:04 +0000)
<Len.Lattanzi@Migration.com>.

buffy.c

diff --git a/buffy.c b/buffy.c
index 997ac70c7cdc71c160e4aecabac930b22adac9e3..7d1a8fe1a593d6a4c70e846544b53121fa5db76c 100644 (file)
--- a/buffy.c
+++ b/buffy.c
@@ -357,7 +357,8 @@ int mutt_buffy_check (int force)
        break;
 
       case M_MH:
-       tmp->new = mh_buffy (tmp->path);
+       if ((tmp->new = mh_buffy (tmp->path)) > 0)
+         BuffyCount++;
        break;
        
 #ifdef USE_IMAP