diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-26 20:04:12 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-26 20:04:12 +0000 |
commit | 8eb983dd647fb7d2082b06626f85af1d119bf9d4 (patch) | |
tree | 6a12109d4aeb37174a33d61c8a9887707dcf9392 /src/inspircd_io.cpp | |
parent | dc3c2ec158d8bc235773d07fd8ff420baad1c23f (diff) |
Strlen tidyup (based on results of gprof output)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1201 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r-- | src/inspircd_io.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 03596b4bc..72d4ee056 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -110,11 +110,10 @@ int DaemonSeed (void) setsid (); umask (007); printf("InspIRCd PID: %d\n",getpid()); - /* close stdin, stdout, stderr */ freopen("/dev/null","w",stdout); freopen("/dev/null","w",stderr); - setpriority(PRIO_PROCESS,(int)getpid(),15); /* ircd sets to low process priority so it doesnt hog the box */ + setpriority(PRIO_PROCESS,(int)getpid(),15); if (unlimitcore) { |