diff options
Diffstat (limited to 'protocols/jabber/iq.c')
| -rw-r--r-- | protocols/jabber/iq.c | 15 | 
1 files changed, 8 insertions, 7 deletions
| diff --git a/protocols/jabber/iq.c b/protocols/jabber/iq.c index 2f0959b0..d45b7625 100644 --- a/protocols/jabber/iq.c +++ b/protocols/jabber/iq.c @@ -53,7 +53,7 @@ xt_status jabber_pkt_iq( struct xt_node *node, gpointer data )  		       ( c = xt_find_node( node->children, "ping" ) ) ) || /* O_o WHAT is wrong with just <query/> ????? */  		    !( s = xt_find_attr( c, "xmlns" ) ) )  		{ -			imcb_log( ic, "WARNING: Received incomplete IQ-%s packet", type ); +			imcb_log( ic, "Warning: Received incomplete IQ-%s packet", type );  			return XT_HANDLED;  		} @@ -91,7 +91,8 @@ xt_status jabber_pkt_iq( struct xt_node *node, gpointer data )  		}  		else if( strcmp( s, XMLNS_DISCO_INFO ) == 0 )  		{ -			const char *features[] = { XMLNS_VERSION, +			const char *features[] = { XMLNS_DISCO_INFO, +			                           XMLNS_VERSION,  			                           XMLNS_TIME,  			                           XMLNS_CHATSTATES,  			                           XMLNS_MUC, @@ -131,7 +132,7 @@ xt_status jabber_pkt_iq( struct xt_node *node, gpointer data )  		} else if( !( c = xt_find_node( node->children, "query" ) ) ||  		    !( s = xt_find_attr( c, "xmlns" ) ) )  		{ -			imcb_log( ic, "WARNING: Received incomplete IQ-%s packet", type ); +			imcb_log( ic, "Warning: Received incomplete IQ-%s packet", type );  			return XT_HANDLED;  		} else if( strcmp( s, XMLNS_ROSTER ) == 0 )  		{ @@ -151,7 +152,7 @@ xt_status jabber_pkt_iq( struct xt_node *node, gpointer data )  			}  			else  			{ -				imcb_log( ic, "WARNING: %s tried to fake a roster push!", s ? s : "(unknown)" ); +				imcb_log( ic, "Warning: %s tried to fake a roster push!", s ? s : "(unknown)" );  				xt_free_node( reply );  				reply = jabber_make_error_packet( node, "not-allowed", "cancel", NULL ); @@ -219,7 +220,7 @@ static xt_status jabber_do_iq_auth( struct im_connection *ic, struct xt_node *no  	if( !( query = xt_find_node( node->children, "query" ) ) )  	{ -		imcb_log( ic, "WARNING: Received incomplete IQ packet while authenticating" ); +		imcb_log( ic, "Warning: Received incomplete IQ packet while authenticating" );  		imc_logout( ic, FALSE );  		return XT_HANDLED;  	} @@ -277,7 +278,7 @@ static xt_status jabber_finish_iq_auth( struct im_connection *ic, struct xt_node  	if( !( type = xt_find_attr( node, "type" ) ) )  	{ -		imcb_log( ic, "WARNING: Received incomplete IQ packet while authenticating" ); +		imcb_log( ic, "Warning: Received incomplete IQ packet while authenticating" );  		imc_logout( ic, FALSE );  		return XT_HANDLED;  	} @@ -353,7 +354,7 @@ static xt_status jabber_parse_roster( struct im_connection *ic, struct xt_node *  	if( !( query = xt_find_node( node->children, "query" ) ) )  	{ -		imcb_log( ic, "WARNING: Received NULL roster packet" ); +		imcb_log( ic, "Warning: Received NULL roster packet" );  		return XT_HANDLED;  	} | 
