summaryrefslogtreecommitdiff
path: root/support/suexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/suexec.c')
-rw-r--r--support/suexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/suexec.c b/support/suexec.c
index 1402f1297c..2ebacb9bee 100644
--- a/support/suexec.c
+++ b/support/suexec.c
@@ -239,7 +239,7 @@ static void clean_env(void)
environ = &empty_ptr; /* VERY safe environment */
- if ((cleanenv = (char **) ap_calloc(AP_ENVBUF, sizeof(char *))) == NULL) {
+ if ((cleanenv = (char **) calloc(AP_ENVBUF, sizeof(char *))) == NULL) {
log_err("failed to malloc memory for environment\n");
exit(123);
}