Fix Windows build

This commit is contained in:
Sergey Lyubka 2012-03-11 21:32:53 +00:00
parent 2a3f31f521
commit 83447fb6e5

View File

@ -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