summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-03-07 19:25:32 +0000
committerJason Woodward2010-03-07 19:25:32 +0000
commit1fcffbbcf52af80587cec6e7ef48ab246b0690d7 (patch)
tree5b253748cf251d91e962ad402bf4170f8c0c80a1
parentf61e013f7c1d65c36c115a297119280f74073f3f (diff)
downloadslapt-update-service-1fcffbbcf52af80587cec6e7ef48ab246b0690d7.tar.gz
call gpgme_check_version if SLAPT_HAS_GPGME
-rw-r--r--src/server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server.c b/src/server.c
index a4550f1..abbf705 100644
--- a/src/server.c
+++ b/src/server.c
@@ -35,6 +35,9 @@ int main (void)
FILE *newstdout = NULL;
g_type_init();
+#ifdef SLAPT_HAS_GPGME
+ gpgme_check_version (NULL);
+#endif
bus = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
if (bus == NULL) {