diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/tests/ForkedBroker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/ForkedBroker.cpp b/cpp/src/tests/ForkedBroker.cpp index 9ff301e29d..53eaa7e1ce 100644 --- a/cpp/src/tests/ForkedBroker.cpp +++ b/cpp/src/tests/ForkedBroker.cpp @@ -129,7 +129,7 @@ void ForkedBroker::init(const Args& userArgs) { if (ferror(f)) throw ErrnoException("Error reading port number from child."); else throw qpid::Exception("EOF reading port number from child."); } - ::close(pipeFds[0]); + ::fclose(f); running = true; } else { // child |