aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp-w32.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-01-19 11:45:04 +0000
committerJustus Winter <[email protected]>2016-02-23 10:58:20 +0000
commitb0125ae9850973b89010517b1dbce04125a51d51 (patch)
treef0c71ce4f88790ec5acd63e77fcf0ef8921cf274 /common/exechelp-w32.c
parenttools/mk-tdata: Fix data generation on Windows. (diff)
downloadgnupg-b0125ae9850973b89010517b1dbce04125a51d51.tar.gz
gnupg-b0125ae9850973b89010517b1dbce04125a51d51.zip
common/exechelp: Fix pipe creation.
* common/exechelp-w32.c (gnupg_spawn_process): Fix the creation of the input pipe. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'common/exechelp-w32.c')
-rw-r--r--common/exechelp-w32.c2
1 files changed, 1 insertions, 1 deletions
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))
{