]> git.marmaro.de Git - mmh/blobdiff - uip/inc.c
db configuration fix for Debian; yet another location for ndbm.
[mmh] / uip / inc.c
index ec4f520d6065e26122dbf3db24004822cabcaa70..af8180d1c111f08204377ea5e0419cde39807584 100644 (file)
--- a/uip/inc.c
+++ b/uip/inc.c
@@ -134,8 +134,6 @@ static struct swit switches[] = {
     { NULL, 0 }
 };
 
-extern int errno;
-
 /*
  * flags for the mail source
  */
@@ -844,6 +842,9 @@ go_to_it:
 
                msgnum++;
                mp->hghmsg++;
+               mp->nummsg++;
+               if (mp->lowmsg == 0) mp->lowmsg = 1;
+
                clear_msg_flags (mp, msgnum);
                set_exists (mp, msgnum);
                set_unseen (mp, msgnum);