]> diplodocus.org Git - nmh/blobdiff - uip/inc.c
Added exit to test-ali, temporarily, to isolate failure on
[nmh] / uip / inc.c
index 3ec47fae6dfbb0857f67759d2d80be73da0fb649..2d791f68383949d657f65a1fc91abbbcc75962e2 100644 (file)
--- a/uip/inc.c
+++ b/uip/inc.c
@@ -569,6 +569,7 @@ go_to_it:
        fflush (stdout);
     }
 
+
     /*
      * Get the mail from a POP server
      */
@@ -702,7 +703,7 @@ go_to_it:
      * Get the mail from file (usually mail spool)
      */
     if (inc_type == INC_FILE && Maildir == NULL) {
-       m_unknown (in);         /* the MAGIC invocation... */
+       scan_detect_mbox_style (in);            /* the MAGIC invocation... */
        hghnum = msgnum = mp->hghmsg;
        for (;;) {
            /*
@@ -869,6 +870,8 @@ go_to_it:
        free (Maildir); /* From now on Maildir is just a flag - don't dref! */
     }
 
+    scan_finished ();
+
     if (incerr < 0) {          /* error */
        if (locked) {
             GETGROUPPRIVS();      /* Be sure we can unlock mail file */