aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-03-11 12:54:21 +0000
committerWerner Koch <[email protected]>2014-07-30 09:12:17 +0000
commit97f9bec6d0d0a3fb4dab96b30349d25cf00a1af5 (patch)
tree0544df07905725a0cec4b30e8237b0bae359574b
parentFix type inconsistency between gpgme.h and gpgme.c. (diff)
downloadgpgme-97f9bec6d0d0a3fb4dab96b30349d25cf00a1af5.tar.gz
gpgme-97f9bec6d0d0a3fb4dab96b30349d25cf00a1af5.zip
Change implementation return type to match the definition.
* src/gpgme.c (gpgme_get_sub_protocol): Change return type to gpgme_protocol_t. -- Yet another enum/int mismatch. Reported-by: Albert Chin.
-rw-r--r--src/gpgme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgme.c b/src/gpgme.c
index bbfcddcb..b0ef03cf 100644
--- a/src/gpgme.c
+++ b/src/gpgme.c
@@ -357,7 +357,7 @@ gpgme_set_sub_protocol (gpgme_ctx_t ctx, gpgme_protocol_t protocol)
}
-gpgme_error_t
+gpgme_protocol_t
gpgme_get_sub_protocol (gpgme_ctx_t ctx)
{
TRACE2 (DEBUG_CTX, "gpgme_get_sub_protocol", ctx,