comparison src/protocols/jabber/iq.c @ 8314:db1123eb56b0

[gaim-migrate @ 9038] wow committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 22 Feb 2004 01:25:54 +0000
parents ba12d8b12ab0
children 52ea0ab31caa
comparison
equal deleted inserted replaced
8313:ab7859399509 8314:db1123eb56b0
252 252
253 if(type && (!strcmp(type, "result") || !strcmp(type, "error"))) { 253 if(type && (!strcmp(type, "result") || !strcmp(type, "error"))) {
254 if(id && *id && (jcd = g_hash_table_lookup(js->iq_callbacks, id))) { 254 if(id && *id && (jcd = g_hash_table_lookup(js->iq_callbacks, id))) {
255 jcd->callback(js, packet, jcd->data); 255 jcd->callback(js, packet, jcd->data);
256 g_hash_table_remove(js->iq_callbacks, id); 256 g_hash_table_remove(js->iq_callbacks, id);
257 } 257 return;
258 return; 258 }
259 } 259 }
260 260
261 /* Apparently not, so lets see if we have a pre-defined handler */ 261 /* Apparently not, so lets see if we have a pre-defined handler */
262 262
263 if(type && query && (xmlns = xmlnode_get_attrib(query, "xmlns"))) { 263 if(type && query && (xmlns = xmlnode_get_attrib(query, "xmlns"))) {