]> diplodocus.org Git - nmh/blobdiff - uip/inc.c
Handle unknown message types in the generic content handler rather
[nmh] / uip / inc.c
index b76f1cd96d8d04bf33b646ba479b9559a6a9f287..7673da324a4deb1711e293e68cd90c2294d4beaf 100644 (file)
--- a/uip/inc.c
+++ b/uip/inc.c
@@ -666,6 +666,8 @@ go_to_it:
 
            if (trnflag && pop_dele (i) == NOTOK)
                adios (NULL, "%s", response);
+
+           scan_finished();
        }
 
        if (pop_quit () == NOTOK)
@@ -808,6 +810,8 @@ go_to_it:
            if (trnflag && m_unlink (sp) == NOTOK)
                adios (sp, "couldn't unlink");
            free (sp); /* Free Maildir[i]->filename */
+
+           scan_finished();
        }
        free (Maildir); /* From now on Maildir is just a flag - don't dref! */
     }