[Box Backup-commit] COMMIT r1878 - box/trunk/lib/server

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Wed, 17 Oct 2007 13:48:27 +0100


Author: chris
Date: 2007-10-17 13:48:27 +0100 (Wed, 17 Oct 2007)
New Revision: 1878

Modified:
   box/trunk/lib/server/Daemon.cpp
Log:
Don't disable logging on Win32 console. (merges [1834])


Modified: box/trunk/lib/server/Daemon.cpp
===================================================================
--- box/trunk/lib/server/Daemon.cpp	2007-10-17 12:48:05 UTC (rev 1877)
+++ box/trunk/lib/server/Daemon.cpp	2007-10-17 12:48:27 UTC (rev 1878)
@@ -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)