summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-08-26 21:42:09 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-08-26 21:42:09 +0000
commit95d9bf8bba2e28bab8e27494688e568d70fbedf8 (patch)
treea7699a0dce1ad7f06353d0fae8b354390cd70b69 /threadproc
parent5f935855a9c9049b7452e3e878ba89a47f3615ed (diff)
downloadlibapr-95d9bf8bba2e28bab8e27494688e568d70fbedf8.tar.gz
Correct r569882 typo; we must leave what we enter.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@569890 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/win32/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/win32/proc.c b/threadproc/win32/proc.c
index 362e16676..01884bd4a 100644
--- a/threadproc/win32/proc.c
+++ b/threadproc/win32/proc.c
@@ -767,7 +767,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new,
/* LOCK CRITICAL SECTION
* before we begin to manipulate the inherited handles
*/
- EnterCriticalSection(&proc_lock);
+ LeaveCriticalSection(&proc_lock);
if ((attr->child_in && attr->child_in->filehand)
|| (attr->child_out && attr->child_out->filehand)