changeset 25662:ba2b63988b3c

Remove a "suggested parenthes around assignment" warning
author Paul Aurich <paul@darkrain42.org>
date Tue, 10 Feb 2009 08:27:30 +0000
parents 43c41aee8fcb
children 439f07ce4c8a
files libpurple/protocols/jabber/iq.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/iq.c	Tue Feb 10 06:15:27 2009 +0000
+++ b/libpurple/protocols/jabber/iq.c	Tue Feb 10 08:27:30 2009 +0000
@@ -352,7 +352,7 @@
 
 	/* First, lets see if a special callback got registered */
 	if(type == JABBER_IQ_RESULT || type == JABBER_IQ_ERROR) {
-		if(jcd = g_hash_table_lookup(js->iq_callbacks, id)) {
+		if((jcd = g_hash_table_lookup(js->iq_callbacks, id))) {
 			jcd->callback(js, packet, jcd->data);
 			jabber_iq_remove_callback_by_id(js, id);
 			return;