From b2cb882ee287e581089b0687f88fd90fde4161d2 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 12 Jun 2019 02:14:08 +0000 Subject: __ntapi_tt_spawn_foreign_process(): fix copy-paste error (cf. prev. for loop). --- src/process/ntapi_tt_spawn_foreign_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process/ntapi_tt_spawn_foreign_process.c b/src/process/ntapi_tt_spawn_foreign_process.c index 1b63c23..143ca28 100644 --- a/src/process/ntapi_tt_spawn_foreign_process.c +++ b/src/process/ntapi_tt_spawn_foreign_process.c @@ -181,7 +181,7 @@ int32_t __stdcall __ntapi_tt_spawn_foreign_process(nt_spawn_process_params * spa if (fquote) *ch_arg++ = '"'; - for (ch=*parg, fquote=0; *ch && !fquote; ) { + for (ch=*parg; *ch; ) { if (ch[0] == '\\') { for (mark=&ch[1]; *mark=='\\'; ) mark++; -- cgit v1.2.3