diff src/protocols/sametime/meanwhile/mw_debug.c @ 12317:1baf4cbcf84d

[gaim-migrate @ 14621] Warning fixes. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 04 Dec 2005 17:47:05 +0000
parents a2ebf585d8c6
children
line wrap: on
line diff
--- a/src/protocols/sametime/meanwhile/mw_debug.c	Sun Dec 04 17:44:01 2005 +0000
+++ b/src/protocols/sametime/meanwhile/mw_debug.c	Sun Dec 04 17:47:05 2005 +0000
@@ -92,7 +92,7 @@
   }
   pretty_print(str, buf, len);
 
-  g_debug(str->str);
+  g_debug("%s", str->str);
   g_string_free(str, TRUE);
 }
 
@@ -132,7 +132,7 @@
 void mw_mailme_datav(const guchar *buf, gsize len,
 		     const char *info, va_list args) {
 
-#if MW_MAILME
+#if defined(MW_MAILME) && MW_MAILME
   GString *str;
   char *txt;