From a5b002c88364120d5cbc3d07acca49d45e0ac902 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sat, 2 Dec 2006 23:57:14 +0000 Subject: [PATCH] 2006-12-02 Marcus Brinkmann * version.c: Include "assuan.h". (do_subsystem_inits): Call assuan_set_assuan_err_source. --- gpgme/ChangeLog | 5 +++++ gpgme/version.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 7ce9dfa..9343bd1 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2006-12-02 Marcus Brinkmann + + * version.c: Include "assuan.h". + (do_subsystem_inits): Call assuan_set_assuan_err_source. + 2006-12-01 Marcus Brinkmann * Makefile.am (libgpgme_real_la_SOURCES): Rename to main_sources. diff --git a/gpgme/version.c b/gpgme/version.c index 26d2dae..2fec05d 100644 --- a/gpgme/version.c +++ b/gpgme/version.c @@ -32,6 +32,8 @@ /* For _gpgme_sema_subsystem_init (). */ #include "sema.h" +#include "assuan.h" + /* Bootstrap the subsystems needed for concurrent operation. This must be done once at startup. We can not guarantee this using a @@ -48,6 +50,7 @@ do_subsystem_inits (void) _gpgme_sema_subsystem_init (); _gpgme_io_subsystem_init (); + assuan_set_assuan_err_source (GPG_ERR_SOURCE_GPGME); done = 1; } -- 2.26.2