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