]> diplodocus.org Git - nmh/commitdiff
It turns out that due to the changes to m_getfld() to support file
authorKen Hornstein <kenh@pobox.com>
Tue, 15 Apr 2014 01:32:41 +0000 (21:32 -0400)
committerKen Hornstein <kenh@pobox.com>
Tue, 15 Apr 2014 01:32:41 +0000 (21:32 -0400)
position tracking, this broke the scan output from inc(1) when POPing
more than one message at a time.  Since a new filehandle was being
passed to each call to scan(), it made the most sense to simply
discard the m_getfld() state for each call to scan() when doing POP.

uip/inc.c

index b76f1cd..37db70b 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)