diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2007-09-29 19:56:47 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2007-09-29 19:56:47 +0000 |
commit | d5b796692e170826525b0acaf84d327ef2cf5b12 (patch) | |
tree | 46c6b5f49a49c141e6b2b6193e1569f4dcde003b /threadproc/unix/proc.c | |
parent | d1d5b311123731e31a6bdd20239b772b2600e3f1 (diff) | |
download | apr-d5b796692e170826525b0acaf84d327ef2cf5b12.tar.gz apr-d5b796692e170826525b0acaf84d327ef2cf5b12.zip |
Thanks for catching the unbalanced parens, jerenkrantz.
These can be reduced further and still remain legible.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@580632 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/unix/proc.c')
-rw-r--r-- | threadproc/unix/proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/threadproc/unix/proc.c b/threadproc/unix/proc.c index de79fafca..1dfa0fb15 100644 --- a/threadproc/unix/proc.c +++ b/threadproc/unix/proc.c @@ -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); } |