summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2003-06-18 22:31:08 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2003-06-18 22:31:08 +0000
commitc5e98d887b0475b0091ed2a9d4cbe2276e8ff387 (patch)
tree02ee7fb06e26439df97dcee31533172d9e08fc2d /threadproc
parentc0ca872ea29778ba1e61e10884a6fc8bea418261 (diff)
downloadlibapr-c5e98d887b0475b0091ed2a9d4cbe2276e8ff387.tar.gz
Clean up a style issue; apr_get_os_error() is much cleaner.
Note that the result from WaitFor{*}() calls is a rather special case, since it has other interesting details. These were not touched since they are clearer as-is. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64542 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/win32/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/win32/thread.c b/threadproc/win32/thread.c
index bbc08d2fb..e470710dd 100644
--- a/threadproc/win32/thread.c
+++ b/threadproc/win32/thread.c
@@ -175,7 +175,7 @@ APR_DECLARE(apr_status_t) apr_thread_join(apr_status_t *retval,
return APR_SUCCESS;
}
/* Wait failed */
- return APR_FROM_OS_ERROR(GetLastError());
+ return apr_get_os_error();;
}
APR_DECLARE(apr_status_t) apr_thread_detach(apr_thread_t *thd)