X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhstore.c;h=74442ad5a4fb6fc32d655868f3993ae9dbee3655;hp=5b56b090f3bb853744d196b3bbb6df10b7648311;hb=2abb9a7cfb0930e27062088734d306e7d78e4cc2;hpb=fede6e42d81ce34fd5c1bbe7fb2757b281c2573a diff --git a/uip/mhstore.c b/uip/mhstore.c index 5b56b09..74442ad 100644 --- a/uip/mhstore.c +++ b/uip/mhstore.c @@ -10,12 +10,14 @@ #include #include #include -#include #include #include #include #include #include +#include +#include +#include static struct swit switches[] = { #define AUTOSW 0 @@ -130,7 +132,9 @@ main(int argc, char **argv) CT ct, *ctp; FILE *fp; - atexit(freects_done); + if (atexit(freects_done) != 0) { + adios(NULL, "atexit failed"); + } setlocale(LC_ALL, ""); invo_name = mhbasename(argv[0]);