aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-06-06 00:26:54 +0000
committerMarcus Brinkmann <[email protected]>2003-06-06 00:26:54 +0000
commit0b08f4b85fa7336d36aa968b7c121bf6913d16b9 (patch)
treef8b0d269505b8bc102e0eda4865b0dfc1486d561
parent2003-06-06 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-0b08f4b85fa7336d36aa968b7c121bf6913d16b9.tar.gz
gpgme-0b08f4b85fa7336d36aa968b7c121bf6913d16b9.zip
Fix last change.
-rw-r--r--gpgme/rungpg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpgme/rungpg.c b/gpgme/rungpg.c
index d29a718a..fb5b7378 100644
--- a/gpgme/rungpg.c
+++ b/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;