summaryrefslogtreecommitdiff
path: root/threadproc/win32/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'threadproc/win32/proc.c')
-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;
}