diff --git a/src/ChangeLog b/src/ChangeLog index 814660b6..95b843d5 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 f970e682..5f82efd1 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); }