aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/soap.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-03-08 01:28:28 -0300
committerdequis <dx@dxzone.com.ar>2015-04-10 14:10:40 -0300
commit693aca0fc7edd7e9babe4de8e399d44fa273660a (patch)
tree826a08515cbff68b85c5c410b2415d618d77a98c /protocols/msn/soap.c
parenta9b1e0edf0280371772e346ee96d24f732bef59f (diff)
msn: colorful debug
Diffstat (limited to 'protocols/msn/soap.c')
-rw-r--r--protocols/msn/soap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c
index f948decb..7d1bed1f 100644
--- a/protocols/msn/soap.c
+++ b/protocols/msn/soap.c
@@ -208,6 +208,7 @@ static void msn_soap_debug_print(const char *headers, const char *payload)
if (!getenv("BITLBEE_DEBUG")) {
return;
}
+ fprintf(stderr, "\n\x1b[90mSOAP:\n");
if (headers) {
if ((s = strstr(headers, "\r\n\r\n"))) {
@@ -224,6 +225,7 @@ static void msn_soap_debug_print(const char *headers, const char *payload)
}
xt_free_node(xt);
}
+ fprintf(stderr, "\n\x1b[97m\n");
}
int msn_soapq_flush(struct im_connection *ic, gboolean resend)