X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Faccesslog.c;fp=src%2Faccesslog.c;h=f17eebe0e8bc09c5049fd4d661779b413025d4ef;hp=0c292c818f7b5c0c13c1e2270c26ed8a93fba124;hb=f95bc20584e36b777421070bb1cfd450349fac4d;hpb=fc25a1d0f3876b8ebcadd67b3626a384802b5beb 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);