aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-02-15 08:45:46 +0000
committerJustus Winter <[email protected]>2017-02-15 15:34:37 +0000
commit6df6e01ed5a581765d245bf7303cda4497d0eb22 (patch)
tree91633e21cf6f6a5d4ecb63f6978c59162c66d0b9 /src/error.c
parentpython: Wrap utility functions. (diff)
downloadgpgme-6df6e01ed5a581765d245bf7303cda4497d0eb22.tar.gz
gpgme-6df6e01ed5a581765d245bf7303cda4497d0eb22.zip
core: Fix error types.
* NEWS: Update. * src/data.c (gpgme_data_set_flag): Return a 'gpgme_error_t'. * src/error.c (gpgme_strerror_r): Fix type of first argument. * src/gpgme.h.in (gpgme_strerror_r): Adapt. (gpgme_data_set_flag): Likewise. -- Fix for consistency. This should not pose problems, because typedef gpg_error_t gpgme_error_t. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.c b/src/error.c
index a84b8673..d9c5fd04 100644
--- a/src/error.c
+++ b/src/error.c
@@ -41,7 +41,7 @@ gpgme_strerror (gpgme_error_t err)
large enough, ERANGE is returned and BUF contains as much of the
beginning of the error string as fits into the buffer. */
int
-gpgme_strerror_r (gpg_error_t err, char *buf, size_t buflen)
+gpgme_strerror_r (gpgme_error_t err, char *buf, size_t buflen)
{
return gpg_strerror_r (err, buf, buflen);
}