X-Git-Url: http://dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fcallfcgi.c;h=1abe7d3ee815922a3190dc212eac829a1584248b;hp=2b3717e33f9e064d99481940d32a41379cb5c467;hb=d06b6013fea7b2c01e75c5fe8bf98ab7caf1346c;hpb=5de3363121322e0f307885499786ecdb451a8ec1 diff --git a/src/callfcgi.c b/src/callfcgi.c index 2b3717e..1abe7d3 100644 --- a/src/callfcgi.c +++ b/src/callfcgi.c @@ -758,7 +758,6 @@ static void sigign(int sig) static void sigexit(int sig) { shutdown(0, SHUT_RDWR); - exit(0); } static void usage(FILE *out) @@ -802,7 +801,7 @@ int main(int argc, char **argv) signal(SIGINT, sigexit); signal(SIGTERM, sigexit); mustart(listenloop, 0); - atexit(killcuraddr); ioloop(); + killcuraddr(); return(0); }