# HG changeset patch # User Paul Aurich # Date 1238820896 0 # Node ID 345165fc51b6d1d202570d50a856b7b76320e776 # Parent d4af753e0e33334dce128fab9adf32af8083bfda BOSH: Print out the received data (similar to the standard XMPP method, except it also contains the wrapper) diff -r d4af753e0e33 -r 345165fc51b6 libpurple/protocols/jabber/bosh.c --- a/libpurple/protocols/jabber/bosh.c Sat Apr 04 04:34:57 2009 +0000 +++ b/libpurple/protocols/jabber/bosh.c Sat Apr 04 04:54:56 2009 +0000 @@ -438,10 +438,11 @@ if (conn->receive_cb) { xmlnode *node = xmlnode_from_str(data, len); + + purple_debug_info("jabber", "RecvBOSH %s(%d): %s\n", + conn->ssl ? "(ssl)" : "", len, data); + if (node) { - char *txt = xmlnode_to_formatted_str(node, NULL); - printf("\nhttp_received_cb\n%s\n", txt); - g_free(txt); conn->receive_cb(conn, node); xmlnode_free(node); } else {