From c828c9d9a4deaf6326db716d3e38db8ebeae9442 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 2 Sep 2010 21:33:26 +0000 Subject: [PATCH] 2010-09-02 Marcus Brinkmann * error.c (gpgme_err_code_to_errno): Fix cut and paste bug (thanks to Marc Mutz). --- src/ChangeLog | 5 +++++ src/error.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); } -- 2.26.2