aboutsummaryrefslogtreecommitdiffstats
path: root/src/signers.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-11-16 17:17:22 +0000
committerWerner Koch <[email protected]>2018-11-16 17:17:22 +0000
commit7a1e7006d06fdbab86ea79a197c316744b09d933 (patch)
tree13e878cc63d2c9116f58307b38ea8c49ccba7097 /src/signers.c
parentcore: Fix a LF problem in the new debug fucntion. (diff)
downloadgpgme-7a1e7006d06fdbab86ea79a197c316744b09d933.tar.gz
gpgme-7a1e7006d06fdbab86ea79a197c316744b09d933.zip
core: Protect the trace macros for fun and profit.
* src/debug.h: Protect macros using. (_trace_err, _trace_sysres, _trace_syserr): New helper inline functions. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/signers.c')
-rw-r--r--src/signers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/signers.c b/src/signers.c
index 6a5ccd22..ac88aebb 100644
--- a/src/signers.c
+++ b/src/signers.c
@@ -89,7 +89,8 @@ gpgme_signers_add (gpgme_ctx_t ctx, const gpgme_key_t key)
gpgme_key_ref (key);
ctx->signers[ctx->signers_len++] = key;
- return TRACE_SUC ("");
+ TRACE_SUC ("");
+ return 0;
}