X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eb63e57238e4a0902319ae045aa0c7ae957479b2..a46e6475aa6fc84c269b98a1c1018f43c09e5435:/win32_test_app/src/TTestSuite.c diff --git a/win32_test_app/src/TTestSuite.c b/win32_test_app/src/TTestSuite.c index e2c49bea32..30fc661900 100644 --- a/win32_test_app/src/TTestSuite.c +++ b/win32_test_app/src/TTestSuite.c @@ -809,14 +809,14 @@ unsigned long WINAPI TestSuite_runSyncTestCase(void *param) /* Close inheritable copies of the handles you do not want to be inherited. */ - if (!CloseHandle((context->hChildStdoutReadTmp))) { + if (!CloseHandle(context->hChildStdoutReadTmp)) { setErrno(E_CANNOT_CLOSE_CHILD_STDIN_TEMPORY_HANDLE); return getErrno(); } context->hChildStdoutReadTmp = NULL; - if (!CloseHandle((context->hChildStdinWriteTmp))) { + if (!CloseHandle(context->hChildStdinWriteTmp)) { setErrno(E_CANNOT_CLOSE_CHILD_STDOUT_TEMPORY_HANDLE); return getErrno(); }