diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2007-09-29 19:56:47 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2007-09-29 19:56:47 +0000 |
commit | 20a79ca5e8a7afec36a8568cb5c89825f9aaf648 (patch) | |
tree | 46c6b5f49a49c141e6b2b6193e1569f4dcde003b /threadproc | |
parent | 6dfb72730cdedab86e3a43321d6ac31a7fc523ef (diff) | |
download | libapr-20a79ca5e8a7afec36a8568cb5c89825f9aaf648.tar.gz |
Thanks for catching the unbalanced parens, jerenkrantz.
These can be reduced further and still remain legible.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@580632 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-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); } |