projects
/
gpgme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b1f6a
)
Fix last change.
author
Marcus Brinkmann
<mb@g10code.com>
Fri, 6 Jun 2003 00:26:54 +0000
(
00:26
+0000)
committer
Marcus Brinkmann
<mb@g10code.com>
Fri, 6 Jun 2003 00:26:54 +0000
(
00:26
+0000)
trunk/gpgme/rungpg.c
patch
|
blob
|
history
diff --git
a/trunk/gpgme/rungpg.c
b/trunk/gpgme/rungpg.c
index d29a718ac788498cbb99ac5b61585e2312e5433e..fb5b737877d2d1aec57e0db5cdd53af0202da64e 100644
(file)
--- 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;