diff mcabber/src/pgp.c @ 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 082d55152a25
children 265e1d873d3e
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;
   }