From 4f4bef4b5f2910b9a52f6f660e8d4262bf974f06 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 24 Mar 2007 18:51:29 +0000 Subject: Fix untidy debug output git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6708 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 2ec941708..9744adb68 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -453,31 +453,13 @@ InspIRCd::InspIRCd(int argc, char** argv) Log(DEFAULT,"Error killing parent process: %s",strerror(errno)); } - /*Log(DEBUG,"Fileno(stdin, stdout, stderr): %d %d %d", fileno(stdin), fileno(stdout), fileno(stderr));*/ - - if (stdin) - { - fclose(stdin); - closed++; - } - - if (stdout) - { - fclose(stdout); - closed++; - } - - if (stderr) - { - fclose(stderr); - closed++; - } - - Log(DEBUG,"%d system descriptors closed.", closed); + fclose(stdin); + fclose(stderr); + fclose(stdout); } printf("\nInspIRCd is now running!\n"); - Log(DEFAULT,"Startup complete, Initial TS=%d.", time(NULL)); + Log(DEFAULT,"Startup complete."); this->WritePID(Config->PID); } -- cgit v1.2.3