mirror of
https://github.com/nzbget/nzbget.git
synced 2026-04-24 23:06:53 -04:00
fixed: environment block was not passed correctly to child process, what could result in seg faults (windows only)
This commit is contained in:
@@ -151,7 +151,7 @@ char* EnvironmentStrings::GetStrings()
|
||||
strcpy(szPtr, szVar);
|
||||
szPtr += strlen(szVar) + 1;
|
||||
}
|
||||
szPtr = '\0';
|
||||
*szPtr = '\0';
|
||||
|
||||
return szStrings;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user