summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>2000-09-02 03:30:07 +0000
committerrpj <rpj>2000-09-02 03:30:07 +0000
commit9250a2a259e1163c3c3e234366a1b8c65b64a89f (patch)
tree21b892aec9237628bd4f17fbd91dc41b88728082
parent02210904fd9c23258b5d56ee567d3c05b5b9a57e (diff)
Fix comment.
-rw-r--r--misc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc.c b/misc.c
index 08de967..6228315 100644
--- a/misc.c
+++ b/misc.c
@@ -290,7 +290,6 @@ CancelableWait (HANDLE waitHandle, DWORD timeout)
if (status == WAIT_FAILED)
{
result = EINVAL;
-
}
else if (status == WAIT_TIMEOUT)
{
@@ -330,8 +329,8 @@ CancelableWait (HANDLE waitHandle, DWORD timeout)
ptw32_throw(PTW32_EPS_CANCEL);
}
- /* Should never get to here. */
- result = EINVAL;
+ /* Should never get to here. */
+ result = EINVAL;
break;
default:
@@ -342,7 +341,7 @@ CancelableWait (HANDLE waitHandle, DWORD timeout)
return (result);
-} /* pthreadCancelableWait */
+} /* CancelableWait */
int
pthreadCancelableWait (HANDLE waitHandle)