[Box Backup-commit] COMMIT r1834 - box/chris/general/lib/server

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Fri, 14 Sep 2007 22:25:58 +0100


Author: chris
Date: 2007-09-14 22:25:58 +0100 (Fri, 14 Sep 2007)
New Revision: 1834

Modified:
   box/chris/general/lib/server/Daemon.cpp
Log:
Don't disable logging on Win32 console.


Modified: box/chris/general/lib/server/Daemon.cpp
===================================================================
--- box/chris/general/lib/server/Daemon.cpp	2007-09-14 21:25:42 UTC (rev 1833)
+++ box/chris/general/lib/server/Daemon.cpp	2007-09-14 21:25:58 UTC (rev 1834)
@@ -439,12 +439,12 @@
 			{
 				::close(devnull);
 			}
-#endif // ! WIN32
 
 			// And definitely don't try and send anything to those file descriptors
 			// -- this has in the past sent text to something which isn't expecting it.
 			TRACE_TO_STDOUT(false);
 			Logging::ToConsole(false);
+#endif // ! WIN32
 		}		
 	}
 	catch(BoxException &e)