X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Faccesslog.c;h=f17eebe0e8bc09c5049fd4d661779b413025d4ef;hb=8db41888f19bbb6b26bb084287716b6832d6ec78;hp=0c292c818f7b5c0c13c1e2270c26ed8a93fba124;hpb=9a98cec1b50ed03008cccf2778db47c0f4f23cc3;p=ashd.git diff --git a/src/accesslog.c b/src/accesslog.c index 0c292c8..f17eebe 100644 --- a/src/accesslog.c +++ b/src/accesslog.c @@ -395,6 +395,7 @@ int main(int argc, char **argv) if(pfd[1].revents & POLLHUP) break; } + fclose(out); if(pidfile != NULL) unlink(pidfile); return(0);