aboutsummaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
Diffstat (limited to 'scd')
-rw-r--r--scd/ChangeLog5
-rw-r--r--scd/scdaemon.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/scd/ChangeLog b/scd/ChangeLog
index fe3b3f6c4..87328f650 100644
--- a/scd/ChangeLog
+++ b/scd/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-18 Werner Koch <[email protected]>
+
+ * scdaemon.h (map_assuan_err): Define in terms of
+ map_assuan_err_with_source.
+
2004-12-15 Werner Koch <[email protected]>
* scdaemon.c [W32]: Various hacks to make it run under W32.
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index c8d78c88b..c59879448 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -26,6 +26,9 @@
#endif
#define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_SCD
#include <gpg-error.h>
+#define map_assuan_err(a) \
+ map_assuan_err_with_source (GPG_ERR_SOURCE_DEFAULT, (a))
+
#include <errno.h>
#include <time.h>