From: Thadeu Lima de Souza Cascardo Date: Wed, 9 Oct 2013 21:57:50 +0000 (-0300) Subject: Fix bug on if condition. X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Ff2fchat.git;a=commitdiff_plain;h=81f0d4d94ef5234eeb647831b8846a2438bb0f74 Fix bug on if condition. --- diff --git a/message.c b/message.c index 35b5d1c..4104cff 100644 --- a/message.c +++ b/message.c @@ -55,7 +55,7 @@ gboolean message_incoming(GIOChannel *channel, GIOCondition cond, gpointer data) } else { struct friend *friend; friend = friend_get_by_address(iaddress); - if (friend); + if (friend) g_source_remove_by_user_data(friend); } g_object_unref(address);