X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhtest.c;h=985147c73a24e6640b7b10595cc8bf90d194fd0a;hp=140c7d90092b812abeeee927e04a7d62c68b2596;hb=56a805299de35d8924969138aef4d0f1580daa6d;hpb=174d375bb4b9bcaa0c3f28c422216f68703494a8 diff --git a/uip/mhtest.c b/uip/mhtest.c index 140c7d9..985147c 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -114,6 +114,7 @@ void free_content (CT); */ static int write_content (CT *, char *); static RETSIGTYPE pipeser (int); +static int freectp_done (int); int @@ -127,6 +128,8 @@ main (int argc, char **argv) struct msgs *mp = NULL; CT ct, *ctp; + done=freectp_done; + #ifdef LOCALE setlocale(LC_ALL, ""); #endif @@ -230,7 +233,7 @@ do_cache: if (folder) adios (NULL, "only one folder at a time!"); else - folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); + folder = pluspath (cp); } else app_msgarg(&msgs, cp); } @@ -397,8 +400,8 @@ pipeser (int i) } -int -done (int status) +static int +freectp_done (int status) { CT *ctp;