summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2007-09-29 15:03:03 +0000
committerJustin Erenkrantz <jerenkrantz@apache.org>2007-09-29 15:03:03 +0000
commitd1d5b311123731e31a6bdd20239b772b2600e3f1 (patch)
treeca3ccd2c5b4c3979e2faaaa40b01f3d98ea64f17 /threadproc
parent11798f732596c668803283819e58a9f935395e15 (diff)
downloadapr-d1d5b311123731e31a6bdd20239b772b2600e3f1.tar.gz
Fix compile errors introduced in r580486 due to missing ()s.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@580591 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/unix/proc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/threadproc/unix/proc.c b/threadproc/unix/proc.c
index cbfe79db5..de79fafca 100644
--- a/threadproc/unix/proc.c
+++ b/threadproc/unix/proc.c
@@ -416,7 +416,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new,
apr_pool_cleanup_for_exec();
- if ((attr->child_in) && (attr->child_in->filedes == -1) {
+ if ((attr->child_in) && (attr->child_in->filedes == -1)) {
close(STDIN_FILENO);
}
else if (attr->child_in) {
@@ -425,7 +425,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new,
apr_file_close(attr->child_in);
}
- if ((attr->child_out) && (attr->child_out->filedes == -1) {
+ if ((attr->child_out) && (attr->child_out->filedes == -1)) {
close(STDOUT_FILENO);
}
else if (attr->child_out) {
@@ -434,7 +434,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new,
apr_file_close(attr->child_out);
}
- if ((attr->child_err) && (attr->child_err->filedes == -1) {
+ if ((attr->child_err) && (attr->child_err->filedes == -1)) {
close(STDERR_FILENO);
}
else if (attr->child_err) {
@@ -574,15 +574,15 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new,
}
/* Parent process */
- if ((attr->child_in && (attr->child_in->filedes == -1)) {
+ if ((attr->child_in && (attr->child_in->filedes == -1))) {
apr_file_close(attr->child_in);
}
- if ((attr->child_out) && (attr->child_out->filedes == -1) {
+ if ((attr->child_out) && (attr->child_out->filedes == -1)) {
apr_file_close(attr->child_out);
}
- if ((attr->child_err) && (attr->child_err->filedes == -1) {
+ if ((attr->child_err) && (attr->child_err->filedes == -1)) {
apr_file_close(attr->child_err);
}