X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fmhn.c;h=3f2d2623d2231cb2b197c4564196ec8cfa5774f6;hb=56a805299de35d8924969138aef4d0f1580daa6d;hp=cfeac947622e6a58c3dd0956356cd4470265f785;hpb=174d375bb4b9bcaa0c3f28c422216f68703494a8;p=mmh diff --git a/uip/mhn.c b/uip/mhn.c index cfeac94..3f2d262 100644 --- a/uip/mhn.c +++ b/uip/mhn.c @@ -205,6 +205,7 @@ void free_content (CT); * static prototypes */ static RETSIGTYPE pipeser (int); +static int freectp_done (int); int @@ -220,6 +221,8 @@ main (int argc, char **argv) CT ct, *ctp; FILE *fp; + done=freectp_done; + #ifdef LOCALE setlocale(LC_ALL, ""); #endif @@ -427,7 +430,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); } @@ -704,8 +707,8 @@ pipeser (int i) } -int -done (int status) +static int +freectp_done (int status) { CT *ctp;