summaryrefslogtreecommitdiff
path: root/os/unix/unixd.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/unix/unixd.c')
-rw-r--r--os/unix/unixd.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/os/unix/unixd.c b/os/unix/unixd.c
index 360b935686..2a953f0f38 100644
--- a/os/unix/unixd.c
+++ b/os/unix/unixd.c
@@ -165,11 +165,8 @@ static apr_status_t ap_unix_create_privileged_process(
}
i = 0;
- if (args) {
- while (args[i]) {
- i++;
- }
- }
+ while (args[i])
+ i++;
/* allocate space for 4 new args, the input args, and a null terminator */
newargs = apr_palloc(p, sizeof(char *) * (i + 4));
newprogname = SUEXEC_BIN;