aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2010-09-02 21:33:26 +0000
committerMarcus Brinkmann <[email protected]>2010-09-02 21:33:26 +0000
commitc828c9d9a4deaf6326db716d3e38db8ebeae9442 (patch)
treec39d72cf1888b64a90e10d4f9e5444c1aa57dd94
parent2010-09-01 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-c828c9d9a4deaf6326db716d3e38db8ebeae9442.tar.gz
gpgme-c828c9d9a4deaf6326db716d3e38db8ebeae9442.zip
2010-09-02 Marcus Brinkmann <[email protected]>
* error.c (gpgme_err_code_to_errno): Fix cut and paste bug (thanks to Marc Mutz).
-rw-r--r--src/ChangeLog5
-rw-r--r--src/error.c2
2 files changed, 6 insertions, 1 deletions
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 <[email protected]>
+
+ * error.c (gpgme_err_code_to_errno): Fix cut and paste bug (thanks
+ to Marc Mutz).
+
2010-09-01 Marcus Brinkmann <[email protected]>
* 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);
}