summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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