From: Marcus Brinkmann Date: Thu, 2 Sep 2010 21:33:26 +0000 (+0000) Subject: 2010-09-02 Marcus Brinkmann X-Git-Tag: gpgme-1.3.1~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c828c9d9a4deaf6326db716d3e38db8ebeae9442;p=gpgme.git 2010-09-02 Marcus Brinkmann * error.c (gpgme_err_code_to_errno): Fix cut and paste bug (thanks to Marc Mutz). --- diff --git a/src/ChangeLog b/src/ChangeLog index 814660b..95b843d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-09-02 Marcus Brinkmann + + * error.c (gpgme_err_code_to_errno): Fix cut and paste bug (thanks + to Marc Mutz). + 2010-09-01 Marcus Brinkmann * w32-io.c: Revert change from 2009-06-18, as it created a race diff --git a/src/error.c b/src/error.c index f970e68..5f82efd 100644 --- a/src/error.c +++ b/src/error.c @@ -71,7 +71,7 @@ gpgme_err_code_from_errno (int err) int gpgme_err_code_to_errno (gpgme_err_code_t code) { - return gpg_err_code_from_errno (code); + return gpg_err_code_to_errno (code); }