I finally checked this one in in head and rc1.1. It makes the code follow the man page.
/Anders
--- nmh-1.0.4/uip/scan.c Fri Feb 4 21:28:24 2000
+++ nmh-1.0.4/uip/scan.c.new Tue Jan 15 07:57:48 2002
@@ -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:
