From 6c9ed3ca53e0798e0e0ef9d8d98b26882fc3647f Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Tue, 25 Dec 2012 11:08:03 +0000 Subject: [PATCH] Changed GetFullPathName -> GetFullPathNameA --- mongoose.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mongoose.c b/mongoose.c index 1f5af59b..956dca61 100644 --- a/mongoose.c +++ b/mongoose.c @@ -1305,10 +1305,10 @@ static pid_t spawn_process(struct mg_connection *conn, const char *prog, } if (interp[0] != '\0') { - GetFullPathName(interp, sizeof(full_interp), full_interp, NULL); + GetFullPathNameA(interp, sizeof(full_interp), full_interp, NULL); interp = full_interp; } - GetFullPathName(dir, sizeof(full_dir), full_dir, NULL); + GetFullPathNameA(dir, sizeof(full_dir), full_dir, NULL); mg_snprintf(conn, cmdline, sizeof(cmdline), "%s%s%s\\%s", interp, interp[0] == '\0' ? "" : " ", full_dir, prog);