diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-24 18:51:29 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-24 18:51:29 +0000 |
commit | 4f4bef4b5f2910b9a52f6f660e8d4262bf974f06 (patch) | |
tree | 10223a6f219694b1c2762046e2668ed0beb8a0b8 | |
parent | 922069afab3804acdd53b5daeef35e6a603d43b2 (diff) |
Fix untidy debug output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6708 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/inspircd.cpp | 26 |
1 files changed, 4 insertions, 22 deletions
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); } |