summaryrefslogtreecommitdiff
path: root/hooks/ap_hooks.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-10-04 16:36:44 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-10-04 16:36:44 +0000
commit0c8af82ef9a0b099fcdc3e67e99d73b4217a4217 (patch)
treef5726c53ac18220282e039c4fef4c48db34974d8 /hooks/ap_hooks.c
parent2426f9d6e9fff901eff4a3994d61db9b3158577e (diff)
downloadlibapr-util-0c8af82ef9a0b099fcdc3e67e99d73b4217a4217.tar.gz
First patch to re-order function parameters. This one gets the low hanging
fruit, and moves most of the result parameters to the first argument. Future patches in this series will move the rest of the result parameters to the beginning of the list, and will move the context's to the end of the list git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@57785 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'hooks/ap_hooks.c')
-rw-r--r--hooks/ap_hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/ap_hooks.c b/hooks/ap_hooks.c
index 00d945fd..1573650a 100644
--- a/hooks/ap_hooks.c
+++ b/hooks/ap_hooks.c
@@ -118,7 +118,7 @@ static ap_array_header_t *sort_hook(ap_array_header_t *pHooks,const char *szName
ap_array_header_t *pNew;
int n;
- ap_create_context(g_pHookPool, &p);
+ ap_create_context(&p, g_pHookPool);
pSort=prepare(p,(TSortData *)pHooks->elts,pHooks->nelts);
tsort(pSort,pHooks->nelts);
pNew=ap_make_array(g_pHookPool,pHooks->nelts,sizeof(TSortData));