[or-cvs] ignore RunAsDaemon more thoroughly when we"re running on wi...

arma at seul.org arma at seul.org
Tue May 23 07:04:57 UTC 2006


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	config.c 
Log Message:
ignore RunAsDaemon more thoroughly when we're running on windows.


Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.560
retrieving revision 1.561
diff -u -p -d -r1.560 -r1.561
--- config.c	18 Apr 2006 03:51:18 -0000	1.560
+++ config.c	23 May 2006 07:04:55 -0000	1.561
@@ -2905,7 +2905,12 @@ options_init_logs(or_options_t *options,
   config_line_t *opt;
   int ok;
   smartlist_t *elts;
-  int daemon = options->RunAsDaemon;
+  int daemon =
+#ifdef MS_WINDOWS
+               0;
+#else
+               options->RunAsDaemon;
+#endif
 
   ok = 1;
   elts = smartlist_create();



More information about the tor-commits mailing list