diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-10-06 23:25:35 -0700 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-10-06 23:25:35 -0700 | 
| commit | afb9ea93adb5805b580c343bd81cc168697d1d63 (patch) | |
| tree | 5c64255b2425276c3878951cee1bfedf2a98eaec /protocols | |
| parent | c1d40e7ee369e7a6b7f3ab167a50f99bfdcce29e (diff) | |
Silencing some (mostly whiny) compiler warnings.
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/msn/soap.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c index e289de69..ad3eb750 100644 --- a/protocols/msn/soap.c +++ b/protocols/msn/soap.c @@ -209,14 +209,15 @@ 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;  	if( ( s = strstr( headers, "\r\n\r\n" ) ) ) -		write( 1, s, s - headers + 4 ); +		st = write( 1, s, s - headers + 4 );  	else -		write( 1, headers, strlen( headers ) ); +		st = write( 1, headers, strlen( headers ) );  #ifdef DEBUG  	{ | 
