mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common/exechelp: Fix pipe creation.
* common/exechelp-w32.c (gnupg_spawn_process): Fix the creation of the input pipe. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
661ba477e0
commit
b0125ae985
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[],
|
|||
*r_errfp = NULL;
|
||||
*pid = (pid_t)(-1); /* Always required. */
|
||||
|
||||
if (infp)
|
||||
if (r_infp)
|
||||
{
|
||||
if (create_inheritable_pipe (inpipe, 0))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue