Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc25a1d
)
accesslog: Explicitly close logfile when exiting.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 9 Jun 2013 02:02:08 +0000
(
04:02
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 9 Jun 2013 02:02:08 +0000
(
04:02
+0200)
src/accesslog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/accesslog.c
b/src/accesslog.c
index
0c292c8
..
f17eebe
100644
(file)
--- 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);