From ff1616b7f25775ead76768c2b78c2ca01aac830f Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 9 Nov 2011 08:07:22 +0800 Subject: Fixed bug in msn_soap_debug_print() failing to print HTTP headers of SOAP queries. No, this doesn't fix #850, I just found this bug while trying to get debugging info for that. --- protocols/msn/soap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c index dac46a75..cbc384be 100644 --- a/protocols/msn/soap.c +++ b/protocols/msn/soap.c @@ -215,7 +215,7 @@ static void msn_soap_debug_print( const char *headers, const char *payload ) return; if( ( s = strstr( headers, "\r\n\r\n" ) ) ) - st = write( 1, s, s - headers + 4 ); + st = write( 1, headers, s - headers + 4 ); else st = write( 1, headers, strlen( headers ) ); -- cgit v1.2.3