gpgme: fix gpg_error_t and gpg_err_code_t confusion
Werner Koch
wk at gnupg.org
Thu Oct 15 18:20:17 CEST 2015
On Thu, 15 Oct 2015 02:31, gniibe at fsij.org said:
> I applied it and then fixed the change (reverting a part of the
> original change), both for master and LIBGCRYPT-1-6-BRANCH.
Many thanks.
> Then, I found similar mistakes in gpgme. Although it's obvious fix,
> I haven't had an experience to push to gpgme repository. Thus, I ask
> if it is OK to push this fix to gpgme repo.
Okay.
> - int res = gpg_err_code_to_errno (err);
> + int res = gpg_err_code_to_errno (gpg_err_code (err));
(I was not aware that we had such a function)
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-devel
mailing list