changeset 1057:4cdf19d9c74e

PGP: Fix a small bug in initialization
author Mikael Berthe <mikael@lilotux.net>
date Tue, 28 Nov 2006 07:14:59 +0100
parents 5b3ecae91c95
children c0d44a9a99bc
files mcabber/src/pgp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
   }