diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 6 |
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 |