summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-09-17 20:02:34 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-09-17 20:02:34 +0000
commitfce6d8f2be403cf5e2e98fc4d3faf6cc1caa8997 (patch)
treed393c2d0964bbc6986f57a26baf5740cc772e545 /threadproc
parentc7936d9c334a4e05aaf53a16a84abeb5aee6ce4b (diff)
downloadlibapr-fce6d8f2be403cf5e2e98fc4d3faf6cc1caa8997.tar.gz
Clean up an emit.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62337 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/win32/proc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/threadproc/win32/proc.c b/threadproc/win32/proc.c
index 99fbf800f..31fec7fba 100644
--- a/threadproc/win32/proc.c
+++ b/threadproc/win32/proc.c
@@ -363,8 +363,10 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new,
* ###: This solution isn't much better - it may defeat path searching
* when the path search was desired. Open to further discussion.
*/
- apr_filepath_merge(&progname, attr->currdir, progname,
+ char *progpath;
+ apr_filepath_merge(&progpath, attr->currdir, progname,
APR_FILEPATH_NATIVE, cont);
+ progname = progpath;
}