From 58f5ef70c3824b881ad6b35f854a8c8ac59a5d32 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 13 May 2010 01:30:36 +0100 Subject: Use ?, not &&. --- protocols/jabber/conference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/jabber/conference.c b/protocols/jabber/conference.c index 0d0e3318..bb3fbcf3 100644 --- a/protocols/jabber/conference.c +++ b/protocols/jabber/conference.c @@ -104,7 +104,7 @@ struct groupchat *jabber_chat_by_jid( struct im_connection *ic, const char *name } g_free( normalized ); - return l && ret; + return l ? ret : NULL; } void jabber_chat_free( struct groupchat *c ) -- cgit v1.2.3