diff options
author | Werner Koch <wk@gnupg.org> | 2024-01-26 10:27:40 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-01-26 10:29:08 +0100 |
commit | eaf6a7ab8796a7128fc64516eac4351717a5b2f7 (patch) | |
tree | 205ffc588dc3316b26669d4da14dbf4530cf8826 | |
parent | Post release updates (diff) | |
download | gnupg2-eaf6a7ab8796a7128fc64516eac4351717a5b2f7.tar.xz gnupg2-eaf6a7ab8796a7128fc64516eac4351717a5b2f7.zip |
common,w32: Fix use of GNUPG_SPAWN_KEEP_STDERR.
* common/exechelp-w32.c (gnupg_spawn_process): Fix macro.
--
Fixes-commit: 6d6438a361d25f3b269f702e017f5e39fd1f5c38
GnuPG-bug-id: 6961
-rw-r--r-- | common/exechelp-w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/exechelp-w32.c b/common/exechelp-w32.c index 0034e03f2..2093f0d8b 100644 --- a/common/exechelp-w32.c +++ b/common/exechelp-w32.c @@ -561,7 +561,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[], nullhd[1] = ((flags & GNUPG_SPAWN_KEEP_STDOUT)? GetStdHandle (STD_OUTPUT_HANDLE) : w32_open_null (1)); if (errpipe[1] == INVALID_HANDLE_VALUE) - nullhd[2] = ((flags & GNUPG_SPAWN_KEEP_STDOUT)? + nullhd[2] = ((flags & GNUPG_SPAWN_KEEP_STDERR)? GetStdHandle (STD_ERROR_HANDLE) : w32_open_null (1)); memset (&si, 0, sizeof si); |