aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-defs.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-12-18 10:22:10 +0000
committerWerner Koch <[email protected]>2004-12-18 10:22:10 +0000
commit3666a2859bd31115708b027cb69fa824c8111de4 (patch)
tree97d6df62972435b0b200232225553377bbcb005c /kbx/keybox-defs.h
parent2004-12-17 Moritz Schulte <[email protected]> (diff)
downloadgnupg-3666a2859bd31115708b027cb69fa824c8111de4.tar.gz
gnupg-3666a2859bd31115708b027cb69fa824c8111de4.zip
Avoid the " map_to_assuan_status called with no error source" diagnostic.
Diffstat (limited to 'kbx/keybox-defs.h')
-rw-r--r--kbx/keybox-defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kbx/keybox-defs.h b/kbx/keybox-defs.h
index 5724b85a0..b58294459 100644
--- a/kbx/keybox-defs.h
+++ b/kbx/keybox-defs.h
@@ -25,8 +25,10 @@
#error GPG_ERR_SOURCE_DEFAULT already defined
#endif
#define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_KEYBOX
-
#include <gpg-error.h>
+#define map_assuan_err(a) \
+ map_assuan_err_with_source (GPG_ERR_SOURCE_DEFAULT, (a))
+
#include <sys/types.h> /* off_t */
/* We include the type defintions from jnlib instead of defining our