libpurple/protocols/gg/pubdir-prpl.c

changeset 41883
c67c45d70006
parent 41878
64e455cfb6b4
child 41921
24e5305ebcb6
--- a/libpurple/protocols/gg/pubdir-prpl.c	Fri Nov 04 00:47:21 2022 -0500
+++ b/libpurple/protocols/gg/pubdir-prpl.c	Fri Nov 04 02:32:53 2022 -0500
@@ -165,7 +165,7 @@
 	xml_raw = g_bytes_unref_to_data(response_body, &xml_size);
 
 	if (purple_debug_is_verbose() && purple_debug_is_unsafe()) {
-		purple_debug_misc("gg", "ggp_pubdir_got_data: xml=[%*s]",
+		purple_debug_misc("gg", "ggp_pubdir_got_data: xml=[%.*s]",
 		                  (int)xml_size, xml_raw);
 	}
 
@@ -806,7 +806,7 @@
 	}
 
 	buffer = g_bytes_get_data(response_body, &size);
-	purple_debug_info("gg", "ggp_pubdir_set_info_got_response: [%*s]",
+	purple_debug_info("gg", "ggp_pubdir_set_info_got_response: [%.*s]",
 	                  (int)size, buffer);
 	/* <result><status>0</status></result> */
 

mercurial