mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-21 19:51:50 +00:00
Changed GetFullPathName -> GetFullPathNameA
This commit is contained in:
1 parent
ede1befffa
commit
6c9ed3ca53
1 file changed
+2
-2
+2
-2
@@ -1305,10 +1305,10 @@ static pid_t spawn_process(struct mg_connection *conn, const char *prog,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (interp[0] != '\0') {
|
if (interp[0] != '\0') {
|
||||||
GetFullPathName(interp, sizeof(full_interp), full_interp, NULL);
|
GetFullPathNameA(interp, sizeof(full_interp), full_interp, NULL);
|
||||||
interp = full_interp;
|
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",
|
mg_snprintf(conn, cmdline, sizeof(cmdline), "%s%s%s\\%s",
|
||||||
interp, interp[0] == '\0' ? "" : " ", full_dir, prog);
|
interp, interp[0] == '\0' ? "" : " ", full_dir, prog);
|
||||||
|
|||||||
Reference in new issue
Block a user