From b0125ae9850973b89010517b1dbce04125a51d51 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 19 Jan 2016 12:45:04 +0100 Subject: [PATCH] common/exechelp: Fix pipe creation. * common/exechelp-w32.c (gnupg_spawn_process): Fix the creation of the input pipe. Signed-off-by: Justus Winter --- common/exechelp-w32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/exechelp-w32.c b/common/exechelp-w32.c index bc9b5b460..7439c0b91 100644 --- a/common/exechelp-w32.c +++ b/common/exechelp-w32.c @@ -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)) {