libpurple/protocols/jabber/iq.c

branch
cpw.darkrain42.xmpp.iq-handlers
changeset 25831
1ff20e8f93b5
parent 25830
b98a7376a484
child 26088
65218dd1d42e
equal deleted inserted replaced
25830:b98a7376a484 25831:1ff20e8f93b5
350 return; 350 return;
351 } 351 }
352 352
353 /* First, lets see if a special callback got registered */ 353 /* First, lets see if a special callback got registered */
354 if(type == JABBER_IQ_RESULT || type == JABBER_IQ_ERROR) { 354 if(type == JABBER_IQ_RESULT || type == JABBER_IQ_ERROR) {
355 if(jcd = g_hash_table_lookup(js->iq_callbacks, id)) { 355 if((jcd = g_hash_table_lookup(js->iq_callbacks, id))) {
356 jcd->callback(js, packet, jcd->data); 356 jcd->callback(js, packet, jcd->data);
357 jabber_iq_remove_callback_by_id(js, id); 357 jabber_iq_remove_callback_by_id(js, id);
358 return; 358 return;
359 } 359 }
360 } 360 }

mercurial