gpgme: fix gpg_error_t and gpg_err_code_t confusion
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.
> 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.
> - 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)
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-devel