PGP: Fix a small bug in initialization
authorMikael Berthe <mikael@lilotux.net>
Tue, 28 Nov 2006 07:14:59 +0100
changeset 1057 4cdf19d9c74e
parent 1056 5b3ecae91c95
child 1058 c0d44a9a99bc
PGP: Fix a small bug in initialization
mcabber/src/pgp.c
--- a/mcabber/src/pgp.c	Tue Nov 28 00:00:46 2006 +0100
+++ b/mcabber/src/pgp.c	Tue Nov 28 07:14:59 2006 +0100
@@ -55,8 +55,8 @@
 
   // Check for version and OpenPGP protocol support.
   if (!gpgme_check_version(MIN_GPGME_VERSION)) {
-    scr_LogPrint(LPRINT_LOGNORM|LPRINT_NOTUTF8,
-                 "GPGME initialization error: %s", gpgme_strerror(err));
+    scr_LogPrint(LPRINT_LOGNORM,
+                 "GPGME initialization error: Bad library version");
     return -1;
   }