Commit 5933e48a authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Add some braces for clarity

parent 95e17b45
......@@ -283,7 +283,7 @@ int waitForProcess (ProcHandle handle, int *pret)
*pret = WEXITSTATUS(wstat);
return 0;
}
else
else {
if (WIFSIGNALED(wstat))
{
*pret = TERMSIG_STATUS(WTERMSIG(wstat));
......@@ -293,7 +293,8 @@ int waitForProcess (ProcHandle handle, int *pret)
{
/* This should never happen */
}
}
return -1;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment