diff options
author | Werner Koch <[email protected]> | 2024-01-26 09:27:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-01-26 09:27:40 +0000 |
commit | 535c5cf76913ebf37c0c4eddca9c86576ebd42a8 (patch) | |
tree | 57b1abcb9ff3cc138964da6918ff667f453e66b7 | |
parent | doc: Minor typo fix. (diff) | |
download | gnupg-535c5cf76913ebf37c0c4eddca9c86576ebd42a8.tar.gz gnupg-535c5cf76913ebf37c0c4eddca9c86576ebd42a8.zip |
common,w32: Fix use of GNUPG_SPAWN_KEEP_STDERR.
* common/exechelp-w32.c (gnupg_spawn_process): Fix macro.
--
Fixes-commit: 7ba44d15ca2f800c402a56eb71bb524f91ea2ffa
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 00cf3fcb7..0600bc555 100644 --- a/common/exechelp-w32.c +++ b/common/exechelp-w32.c @@ -550,7 +550,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)); /* Start the process. Note that we can't run the PREEXEC function |