Fix network build

This commit is contained in:
Andy Cedilnik 2002-10-10 11:08:52 -04:00
parent fe100ef263
commit 5b9feb6fdc
1 changed files with 181 additions and 179 deletions

View File

@ -316,7 +316,8 @@ static BOOL RealPopenCreateProcess(const char *cmdstring,
x = i + (int)strlen(s3) + (int)strlen(cmdstring) + 1;
s2 = (char *)_alloca(x);
ZeroMemory(s2, x);
sprintf(s2, "%s%s%s", s1, s3, cmdstring);
//sprintf(s2, "%s%s%s", s1, s3, cmdstring);
sprintf(s2, "%s", cmdstring);
}
else
{
@ -404,6 +405,7 @@ static BOOL RealPopenCreateProcess(const char *cmdstring,
siStartInfo.hStdError = hStderr;
siStartInfo.wShowWindow = SW_HIDE;
//std::cout << "Create process: " << s2 << std::endl;
if (CreateProcess(NULL,
s2,
NULL,