diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-06 21:50:43 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-06 21:50:43 +0000 |
commit | b041b521c8b347c4660b0920f17b92b9c1484f49 (patch) | |
tree | 28cc72e1ac3158dbdd6e2c908dcc8a848f0272e3 /protocols/msn/soap.c | |
parent | df98ee8b4abaa890a02e706d69b93724e8f7744d (diff) | |
parent | d7edadf94be620d226b569f5e14f45de7f08c03a (diff) |
Merging compiler warning fixes from vmiklos.
This change also uncovered one bug in groupchat handling in OSCAR, which
I fixed during the merge.
Diffstat (limited to 'protocols/msn/soap.c')
-rw-r--r-- | protocols/msn/soap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c index ccfc1a67..7d9f3791 100644 --- a/protocols/msn/soap.c +++ b/protocols/msn/soap.c @@ -209,7 +209,6 @@ static char *msn_soap_abservice_build( const char *body_fmt, const char *scenari static void msn_soap_debug_print( const char *headers, const char *payload ) { char *s; - int st; if( !getenv( "BITLBEE_DEBUG" ) ) return; @@ -217,9 +216,9 @@ static void msn_soap_debug_print( const char *headers, const char *payload ) if( headers ) { if( ( s = strstr( headers, "\r\n\r\n" ) ) ) - st = write( 2, headers, s - headers + 4 ); + write( 2, headers, s - headers + 4 ); else - st = write( 2, headers, strlen( headers ) ); + write( 2, headers, strlen( headers ) ); } if( payload ) |