aboutsummaryrefslogtreecommitdiffstats
path: root/common/asshelp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-03-15 11:15:45 +0000
committerWerner Koch <[email protected]>2010-03-15 11:15:45 +0000
commitfb2ba98963beea249474f5d6d7345cf9b4b7f570 (patch)
tree3c9b25d63f90a71caec5685fca945341d54bef9d /common/asshelp.c
parentUse a custom log handler for libassuan. (diff)
downloadgnupg-fb2ba98963beea249474f5d6d7345cf9b4b7f570.tar.gz
gnupg-fb2ba98963beea249474f5d6d7345cf9b4b7f570.zip
Finished the bulk of changes to use estream in most places instead of
stdio.
Diffstat (limited to 'common/asshelp.c')
-rw-r--r--common/asshelp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/asshelp.c b/common/asshelp.c
index 76518485f..f9878f3b3 100644
--- a/common/asshelp.c
+++ b/common/asshelp.c
@@ -42,6 +42,8 @@ my_libassuan_log_handler (assuan_context_t ctx, void *hook,
{
unsigned int dbgval;
+ (void)ctx;
+
if (cat != ASSUAN_LOG_CONTROL)
return 0; /* We only want the control channel messages. */
dbgval = hook? *(unsigned int*)hook : 0;