X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fmswindows.c;h=0d083e2982b8bf1c2033dc73850f00fb236edca3;hp=a16b4b81fbc217cf05b13142316694b312e9eb8a;hb=52ad80309f8c9a5c1498f6ff6b3e11d8997290d7;hpb=8f0378df0b2708cb8e20bcfce6d3ab55ca7c2a40 diff --git a/src/mswindows.c b/src/mswindows.c index a16b4b81..0d083e29 100644 --- a/src/mswindows.c +++ b/src/mswindows.c @@ -357,7 +357,7 @@ fake_fork (void) /* Create the child process detached form the current console and in a suspended state. */ - memset (&si, 0, sizeof (si)); + xzero (si); si.cb = sizeof (si); rv = CreateProcess (exe, GetCommandLine (), NULL, NULL, TRUE, CREATE_SUSPENDED | DETACHED_PROCESS,