diff options
author | midipix <writeonce@midipix.org> | 2019-06-12 02:14:08 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-06-12 02:14:08 +0000 |
commit | b2cb882ee287e581089b0687f88fd90fde4161d2 (patch) | |
tree | ed835123c0167fbc091d5755a1f97b237168c6ff /src | |
parent | 7bb8ac5bd6ed78105d214554713ba1e46e5ddd23 (diff) | |
download | ntapi-b2cb882ee287e581089b0687f88fd90fde4161d2.tar.bz2 ntapi-b2cb882ee287e581089b0687f88fd90fde4161d2.tar.xz |
__ntapi_tt_spawn_foreign_process(): fix copy-paste error (cf. prev. for loop).
Diffstat (limited to 'src')
-rw-r--r-- | src/process/ntapi_tt_spawn_foreign_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |