summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2007-09-29 15:03:03 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2007-09-29 15:03:03 +0000
commit6dfb72730cdedab86e3a43321d6ac31a7fc523ef (patch)
treeca3ccd2c5b4c3979e2faaaa40b01f3d98ea64f17 /threadproc
parent9852c13a4cc8bd0cf98b6ceac257f487c7baf259 (diff)
downloadlibapr-6dfb72730cdedab86e3a43321d6ac31a7fc523ef.tar.gz
Fix compile errors introduced in r580486 due to missing ()s.
git-svn-id: http://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);
}