diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-11-09 08:07:22 +0800 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-11-09 08:07:22 +0800 |
commit | ff1616b7f25775ead76768c2b78c2ca01aac830f (patch) | |
tree | fddf2bf4fbf847b0e83ad5325baffb5987c44147 | |
parent | de26f3ccb7148d83c7bb8a6d5b84bccc95d765fa (diff) |
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.
-rw-r--r-- | protocols/msn/soap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) ); |