dll: FspServiceConsoleModeThread: fix stupid bug with command line argument handling

This commit is contained in:
Bill Zissimopoulos 2016-05-09 14:51:03 -07:00
parent 713ee8a917
commit d3ff12bf60

View File

@ -488,7 +488,7 @@ static DWORD WINAPI FspServiceConsoleModeThread(PVOID Context)
PWSTR *Argv = Context;
DWORD Argc;
for (Argc = 0; 0 != *Argv; Argv++, Argc++)
for (Argc = 0; 0 != Argv[Argc]; Argc++)
;
Service = FspServiceFromTable();