summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-09-01 07:10:25 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-09-01 07:10:25 +0000
commit9d7bd949f093866a8b554941fc48565165804789 (patch)
tree169ea25f488ca9c70865403358b7417069cae193 /threadproc
parenta0df59023ba79a09480d48702aff44adc33c371d (diff)
downloadlibapr-9d7bd949f093866a8b554941fc48565165804789.tar.gz
It helps to assign it to the correct level of indirection
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62273 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 3a27be8e4..8195b6fe3 100644
--- a/threadproc/win32/thread.c
+++ b/threadproc/win32/thread.c
@@ -224,7 +224,7 @@ APR_DECLARE(apr_status_t) apr_os_thread_put(apr_thread_t **thd,
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;
}