summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-07 22:16:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-07 22:16:41 +0000
commit594f7f6c01a139691999932818a7a72226f162de (patch)
tree74413bb922236fd282ebae53f1c37d409a29c6e1 /src/inspircd.cpp
parent9af07046bf8e496d987f6e225a1fe0061cef1ac0 (diff)
What MUPPET made stdin, stdout and stderr FILE* pointers rather than ints?!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3532 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 5c493f6b7..ea035e7b0 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -811,9 +811,9 @@ int InspIRCd::Run()
if (!Config->nofork)
{
- close(stdout);
- close(stderr);
- close(stdin);
+ fclose(stdout);
+ fclose(stderr);
+ fclose(stdin);
}
/* Add the listening sockets used for client inbound connections