changeset 13329:1d569233f257

[gaim-migrate @ 15699] fix a stupid bug (SF 1432924) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 26 Feb 2006 19:35:31 +0000
parents 696b06b33969
children e9cf00a30b49
files src/protocols/jabber/buddy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/buddy.c	Sun Feb 26 17:45:44 2006 +0000
+++ b/src/protocols/jabber/buddy.c	Sun Feb 26 19:35:31 2006 +0000
@@ -1359,7 +1359,7 @@
 	if(!(query = xmlnode_get_child(packet, "query")))
 		return;
 
-	if((x = xmlnode_get_child_with_namespace(packet, "x", "jabber:x:data"))) {
+	if((x = xmlnode_get_child_with_namespace(query, "x", "jabber:x:data"))) {
 		jabber_x_data_request(js, x, user_search_x_data_cb, NULL);
 		return;
 	} else {