aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-10-15 19:27:51 +0000
committerRoger Dingledine <arma@torproject.org>2003-10-15 19:27:51 +0000
commitb3471bbc55ca31a35f59536f2b2186d583c0d591 (patch)
tree75487b5d2c9561d6a5bbf0c46955867b3220735a /src/or/main.c
parentba9b542e935ff9a583b257cf32a9c17bc28bfc65 (diff)
downloadtor-b3471bbc55ca31a35f59536f2b2186d583c0d591.tar
tor-b3471bbc55ca31a35f59536f2b2186d583c0d591.tar.gz
closing stdout *should* be safe (we'll see)
svn:r601
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index b00b6df68..49045ed5b 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -752,7 +752,7 @@ void daemonize(void) {
umask(000);
fclose(stdin);
- fclose(stdout); /* XXX Nick: this closes our log, right? is it safe to leave this open? */
+ fclose(stdout);
fclose(stderr);
#endif
}