From 594f7f6c01a139691999932818a7a72226f162de Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 7 Mar 2006 22:16:41 +0000 Subject: 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 --- src/inspircd.cpp | 6 +++--- src/svn-rev.sh | 2 +- 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 -- cgit v1.2.3