aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-03-11 12:54:21 +0000
committerWerner Koch <[email protected]>2014-03-11 12:54:21 +0000
commit75a6255935f450d56f3637cbb2b6c8161ace57ab (patch)
tree638867fab56391087ca4416c5b23a53412fc09d8
parentdoc: Fix documentation of struct data types (diff)
downloadgpgme-75a6255935f450d56f3637cbb2b6c8161ace57ab.tar.gz
gpgme-75a6255935f450d56f3637cbb2b6c8161ace57ab.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 9c297d8e..4182c74a 100644
--- a/src/gpgme.c
+++ b/src/gpgme.c
@@ -370,7 +370,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,