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:
Justus Winter 2016-01-19 12:45:04 +01:00
parent 661ba477e0
commit b0125ae985
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{