# HG changeset patch # User Paul Aurich # Date 1299455372 0 # Node ID 356adba49daede6762788f5f66b01a7f41865c49 # Parent f178a7df417a56108d6d60e91a69b844b44cc537 jabber: Verbose printing of the exact message passed in to jabber_message_send_im. I've had to do this twice now while tracking bugs in XHTML conversion. diff -r f178a7df417a -r 356adba49dae libpurple/protocols/jabber/message.c --- a/libpurple/protocols/jabber/message.c Sun Mar 06 23:03:47 2011 +0000 +++ b/libpurple/protocols/jabber/message.c Sun Mar 06 23:49:32 2011 +0000 @@ -1140,6 +1140,12 @@ if(!who || !msg) return 0; + if (purple_debug_is_verbose()) { + /* TODO: Maybe we need purple_debug_is_really_verbose? :) */ + purple_debug_misc("jabber", "jabber_message_send_im: who='%s'\n" + "\tmsg='%s'\n", who, msg); + } + resource = jabber_get_resource(who); jb = jabber_buddy_find(gc->proto_data, who, TRUE);