X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhlist.c;h=ceb9336cc09b40d0c6f45f3470880d68357280e8;hb=d254c5e2ad008f26d5fda43c3f24f0a711c7e851;hp=8c7e51d2cc0075af7c63d5fa659b8cc346b104ec;hpb=fede6e42d81ce34fd5c1bbe7fb2757b281c2573a;p=mmh diff --git a/uip/mhlist.c b/uip/mhlist.c index 8c7e51d..ceb9336 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -15,6 +15,9 @@ #include #include #include +#include +#include +#include static struct swit switches[] = { #define VERBSW 0 @@ -92,7 +95,9 @@ main(int argc, char **argv) struct msgs *mp = NULL; CT ct, *ctp; - atexit(freects_done); + if (atexit(freects_done) != 0) { + adios(NULL, "atexit failed"); + } setlocale(LC_ALL, ""); invo_name = mhbasename(argv[0]);