This patch fixes a previously reported bug. scan was (in violation with the 
man page) not correctly honoring the %{folder} construct in the format string. 
I don't have cvs access, so if someone could please apply...

/Anders

diff -Naur nmh-1.0.4.orig/uip/scan.c nmh-1.0.4/uip/scan.c
--- nmh-1.0.4.orig/uip/scan.c   Fri Feb  4 21:28:24 2000
+++ nmh-1.0.4/uip/scan.c        Mon Aug 13 21:23:49 2001
@@ -316,7 +316,7 @@
 
            switch (state = scan (in, msgnum, 0, nfs, width,
                        msgnum == mp->curmsg, unseen,
-                       hdrflag ? folder : NULL, 0L, 1)) {
+                       folder, 0L, 1)) {
                case SCNMSG: 
                case SCNENC: 
                case SCNERR: 


Reply via email to