X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhtest.c;h=dc3812679dea1198c096a1d3d94eed02fdd8b08d;hb=7ffcbc3d01bb58a071d56f5e7379948c579f634a;hp=1f6846bc29f4e585b5a6979e6c8f4fe2285840d1;hpb=682962d94b21e120c78a52a8bdcb6aa994330a14;p=mmh diff --git a/uip/mhtest.c b/uip/mhtest.c index 1f6846b..dc38126 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -12,17 +12,12 @@ #include #include #include -#include #include #include #include #include #include -#ifdef HAVE_SYS_WAIT_H -# include -#endif - static struct swit switches[] = { #define CHECKSW 0 { "check", 0 }, @@ -272,14 +267,14 @@ do_cache: adios(NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime(file))); + if ((ct = parse_mime(file))) *ctp++ = ct; } else { /* ** message(s) are coming from a folder */ if (!msgs.size) - app_msgarg(&msgs, "cur"); + app_msgarg(&msgs, seq_cur); if (!folder) folder = getcurfol(); maildir = toabsdir(folder);