libpurple/protocols/jabber/iq.c

branch
cpw.darkrain42.xmpp.iq-handlers
changeset 25830
b98a7376a484
parent 25826
62e1a74d98ce
child 25831
1ff20e8f93b5
--- a/libpurple/protocols/jabber/iq.c	Tue Feb 10 06:12:24 2009 +0000
+++ b/libpurple/protocols/jabber/iq.c	Tue Feb 10 06:15:27 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(id && *id && (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;

mercurial