X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhshow.c;h=475517172e587a5bd7d56b47f68c2d09f3d6b666;hp=df4cf51234e156e516c9156f51e3e8fb7e36ff6e;hb=56a805299de35d8924969138aef4d0f1580daa6d;hpb=174d375bb4b9bcaa0c3f28c422216f68703494a8 diff --git a/uip/mhshow.c b/uip/mhshow.c index df4cf51..4755171 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -133,6 +133,7 @@ void free_content (CT); * static prototypes */ static RETSIGTYPE pipeser (int); +static int freectp_done (int); int @@ -147,6 +148,8 @@ main (int argc, char **argv) CT ct, *ctp; FILE *fp; + done=freectp_done; + #ifdef LOCALE setlocale(LC_ALL, ""); #endif @@ -283,7 +286,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); } @@ -471,8 +474,8 @@ pipeser (int i) } -int -done (int status) +static int +freectp_done (int status) { CT *ctp;