summaryrefslogtreecommitdiff
path: root/threadproc/os2
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>2007-10-31 22:11:18 +0000
committerBrian Havard <bjh@apache.org>2007-10-31 22:11:18 +0000
commit8eca03a74f75ad05b7fa46c6db12d4bd62f1d35a (patch)
treebd691b7babf0a3e88c267434f19bd2a388412b41 /threadproc/os2
parent1685acccfbc9f7f35587345dfe098e3579c94ea1 (diff)
downloadapr-8eca03a74f75ad05b7fa46c6db12d4bd62f1d35a.tar.gz
Fix mismatch, using child_err when dealing with stdout.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@590849 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/os2')
-rw-r--r--threadproc/os2/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/os2/proc.c b/threadproc/os2/proc.c
index 059558a90..8e4a4a3b6 100644
--- a/threadproc/os2/proc.c
+++ b/threadproc/os2/proc.c
@@ -514,7 +514,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *proc, const char *progname
}
if (attr->child_out) {
- if (attr->child_err->filedes != -1) {
+ if (attr->child_out->filedes != -1) {
apr_file_close(attr->child_out);
}