Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/message.c @ 31758:356adba49dae
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.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 06 Mar 2011 23:49:32 +0000 |
parents | a8cc50c2279f |
children | 7281d151e492 3caef255ad47 |
comparison
equal
deleted
inserted
replaced
31757:f178a7df417a | 31758:356adba49dae |
---|---|
1138 char *resource; | 1138 char *resource; |
1139 | 1139 |
1140 if(!who || !msg) | 1140 if(!who || !msg) |
1141 return 0; | 1141 return 0; |
1142 | 1142 |
1143 if (purple_debug_is_verbose()) { | |
1144 /* TODO: Maybe we need purple_debug_is_really_verbose? :) */ | |
1145 purple_debug_misc("jabber", "jabber_message_send_im: who='%s'\n" | |
1146 "\tmsg='%s'\n", who, msg); | |
1147 } | |
1148 | |
1143 resource = jabber_get_resource(who); | 1149 resource = jabber_get_resource(who); |
1144 | 1150 |
1145 jb = jabber_buddy_find(gc->proto_data, who, TRUE); | 1151 jb = jabber_buddy_find(gc->proto_data, who, TRUE); |
1146 jbr = jabber_buddy_find_resource(jb, resource); | 1152 jbr = jabber_buddy_find_resource(jb, resource); |
1147 | 1153 |