From a44c9e3f0e980e7d3eb6fac912cba7bcac5acc5f Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 6 Jun 2003 00:26:54 +0000 Subject: [PATCH] Fix last change. --- trunk/gpgme/rungpg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/gpgme/rungpg.c b/trunk/gpgme/rungpg.c index d29a718..fb5b737 100644 --- a/trunk/gpgme/rungpg.c +++ b/trunk/gpgme/rungpg.c @@ -482,14 +482,14 @@ gpg_set_command_handler (void *engine, engine_command_handler_t fnc, rc = add_arg (gpg, "--command-fd"); if (rc) - return err; + return rc; /* This is a hack. We don't have a real data object. The only thing that matters is that we use something unique, so we use the address of the cmd structure in the gpg object. */ rc = add_data (gpg, (void *) &gpg->cmd, -2, 0); if (rc) - return err; + return rc; gpg->cmd.fnc = fnc; gpg->cmd.cb_data = (void *) &gpg->cmd; -- 2.26.2