rbb 01/09/01 00:10:25
Modified: threadproc/win32 thread.c
Log:
It helps to assign it to the correct level of indirection
Revision Changes Path
1.37 +1 -1 apr/threadproc/win32/thread.c
Index: thread.c
===================================================================
RCS file: /home/cvs/apr/threadproc/win32/thread.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- thread.c 2001/09/01 05:10:23 1.36
+++ thread.c 2001/09/01 07:10:25 1.37
@@ -224,7 +224,7 @@
APR_DECLARE(apr_status_t) apr_thread_once_init(apr_thread_once_t **control,
apr_pool_t *p)
{
- control = apr_pcalloc(p, sizeof(**control));
+ (*control) = apr_pcalloc(p, sizeof(**control));
return APR_SUCCESS;
}