diff libpurple/protocols/msn/msg.c @ 27483:3dcc42d3cc12

Apparently, I missed a few changes for purple_debug_is_verbose().
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 12 Jul 2009 07:33:06 +0000
parents 35b6fd563056
children 0f48945aa77f
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Sun Jul 12 05:06:45 2009 +0000
+++ b/libpurple/protocols/msn/msg.c	Sun Jul 12 07:33:06 2009 +0000
@@ -767,8 +767,7 @@
 		g_string_append_printf(str, "SUB ID:     %u\r\n", msg->msnslp_header.ack_sub_id);
 		g_string_append_printf(str, "ACK Size:   %" G_GUINT64_FORMAT "\r\n", msg->msnslp_header.ack_size);
 
-#ifdef MSN_DEBUG_SLP_VERBOSE
-		if (body != NULL)
+		if (purple_debug_is_verbose() && body != NULL)
 		{
 			if (text_body)
 			{
@@ -792,7 +791,6 @@
 				g_string_append(str, "\r\n");
 			}
 		}
-#endif
 
 		g_string_append_printf(str, "Footer:     %u\r\n", msg->msnslp_footer.value);
 	}