summaryrefslogtreecommitdiff
path: root/hooks/ap_hooks.c
diff options
context:
space:
mode:
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));