diff options
| author | ulim <a.sporto+bee@gmail.com> | 2008-05-04 15:32:15 +0200 | 
|---|---|---|
| committer | ulim <a.sporto+bee@gmail.com> | 2008-05-04 15:32:15 +0200 | 
| commit | 4358b10c11410a27af9458c92067549cafbc4c0b (patch) | |
| tree | d60712a886fe6e54b76204dd1362b6fe71e9c805 /protocols/jabber/iq.c | |
| parent | 0cab3888888c7c6b58af9560a0ae2c74a795727f (diff) | |
ulibc support, fixes "Invalid SOCKS5 Connect message" problem
Diffstat (limited to 'protocols/jabber/iq.c')
| -rw-r--r-- | protocols/jabber/iq.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/protocols/jabber/iq.c b/protocols/jabber/iq.c index 22aa3e7c..eacc85af 100644 --- a/protocols/jabber/iq.c +++ b/protocols/jabber/iq.c @@ -611,7 +611,7 @@ xt_status jabber_iq_query_features( struct im_connection *ic, char *bare_jid )  	if( ( bud = jabber_buddy_by_jid( ic, bare_jid , 0 ) ) == NULL )  	{  		/* Who cares about the unknown... */ -		imcb_log( ic, "Couldnt find the man: %s", bare_jid); +		imcb_log( ic, "Couldn't find buddy: %s", bare_jid);  		return 0;  	} @@ -625,6 +625,7 @@ xt_status jabber_iq_query_features( struct im_connection *ic, char *bare_jid )  	{  		imcb_log( ic, "WARNING: Couldn't generate feature query" );  		xt_free_node( node ); +		return 0;  	}  	jabber_cache_add( ic, query, jabber_iq_parse_features ); @@ -647,7 +648,7 @@ xt_status jabber_iq_parse_features( struct im_connection *ic, struct xt_node *no  	if( ( bud = jabber_buddy_by_jid( ic, xt_find_attr( node, "from") , 0 ) ) == NULL )  	{  		/* Who cares about the unknown... */ -		imcb_log( ic, "Couldnt find the man: %s", xt_find_attr( node, "from")); +		imcb_log( ic, "Couldn't find buddy: %s", xt_find_attr( node, "from"));  		return 0;  	} | 
