summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2007-10-31 22:11:18 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2007-10-31 22:11:18 +0000
commit0f41246e5e4f45cdeec6853dcaff1f6274a070c9 (patch)
treebd691b7babf0a3e88c267434f19bd2a388412b41 /threadproc
parent3adfda17ce942c24437eb06d790b0f4fc3105f31 (diff)
downloadlibapr-0f41246e5e4f45cdeec6853dcaff1f6274a070c9.tar.gz
Fix mismatch, using child_err when dealing with stdout.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@590849 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-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);
}