summaryrefslogtreecommitdiff
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
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
-rw-r--r--src/inspircd.cpp6
-rwxr-xr-xsrc/svn-rev.sh2
2 files changed, 4 insertions, 4 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
diff --git a/src/svn-rev.sh b/src/svn-rev.sh
index 349e636fd..a1d51cc24 100755
--- a/src/svn-rev.sh
+++ b/src/svn-rev.sh
@@ -1 +1 @@
-echo 3529
+echo 3531