summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2001-08-31 06:49:54 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2001-08-31 06:49:54 +0000
commit9540b46096a205b416c6aa753d85d0096c29705d (patch)
tree5750ff5f0f2f913619618fc719716ef5fbb3f5c2 /threadproc
parent9b6e91a32b620d4bd876108c2b9b62cd665208d1 (diff)
downloadlibapr-9540b46096a205b416c6aa753d85d0096c29705d.tar.gz
OS/2: Fix thread return value passing.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62263 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/os2/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/os2/thread.c b/threadproc/os2/thread.c
index d21414447..2da904e0c 100644
--- a/threadproc/os2/thread.c
+++ b/threadproc/os2/thread.c
@@ -156,7 +156,7 @@ APR_DECLARE(apr_os_thread_t) apr_os_thread_current()
APR_DECLARE(apr_status_t) apr_thread_exit(apr_thread_t *thd, apr_status_t *retval)
{
- thd->rv = retval;
+ thd->rv = *retval;
_endthread();
return -1; /* If we get here something's wrong */
}