summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2020-02-18 08:27:43 +0000
committerJoe Orton <jorton@apache.org>2020-02-18 08:27:43 +0000
commit29849173eac0d8a0f0db566a9d2318d746668b3b (patch)
tree049bdb07d47a45058c420c6cc2eb1da62ec9cdb7 /support
parentf71e6fc9a3f27c96fee68a63c46cc95fbdeecc78 (diff)
downloadhttpd-29849173eac0d8a0f0db566a9d2318d746668b3b.tar.gz
* support/suexec.c (clean_env): Revert use of ap_calloc in
r1874156 which broke the build. https://travis-ci.org/apache/httpd/builds/651858409 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874158 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-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);
}