Commit 83447fb6 authored by Sergey Lyubka's avatar Sergey Lyubka

Fix Windows build

parent 2a3f31f5
......@@ -1175,8 +1175,8 @@ static pid_t spawn_process(struct mg_connection *conn, const char *prog,
HANDLE me;
char *p, *interp, cmdline[PATH_MAX], buf[PATH_MAX];
FILE *fp;
STARTUPINFOA si = { sizeof(si); };
PROCESS_INFORMATION pi = {};
STARTUPINFOA si = { sizeof(si) };
PROCESS_INFORMATION pi = { 0 };
envp = NULL; // Unused
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment