bjh 01/08/30 23:49:54
Modified: threadproc/os2 thread.c
Log:
OS/2: Fix thread return value passing.
Revision Changes Path
1.27 +1 -1 apr/threadproc/os2/thread.c
Index: thread.c
===================================================================
RCS file: /home/cvs/apr/threadproc/os2/thread.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- thread.c 2001/08/30 16:26:22 1.26
+++ thread.c 2001/08/31 06:49:54 1.27
@@ -156,7 +156,7 @@
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 */
}