diff src/protocols/jabber/iq.c @ 7445:6ea4a49b4b51

[gaim-migrate @ 8052] this should fix the case sensitivity issues for jabber. what made me think that g_utf8_normalize() did anything with the strings of cases is beyond me. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 06 Nov 2003 07:07:22 +0000
parents be5a715b71c8
children 43a214a385d1
line wrap: on
line diff
--- a/src/protocols/jabber/iq.c	Thu Nov 06 05:44:28 2003 +0000
+++ b/src/protocols/jabber/iq.c	Thu Nov 06 07:07:22 2003 +0000
@@ -279,11 +279,10 @@
 
 		if(jid->resource && (jb = jabber_buddy_find(js, from, TRUE)))
 			jbr = jabber_buddy_find_resource(jb, jid->resource);
+		jabber_id_free(jid);
 
-		if(!jbr) {
-			jabber_id_free(jid);
+		if(!jbr)
 			return;
-		}
 
 		for(child = query->child; child; child = child->next) {
 			if(child->type != NODE_TYPE_TAG)
@@ -303,7 +302,6 @@
 					jbr->capabilities |= JABBER_CAP_BYTESTREAMS;
 			}
 		}
-		jabber_id_free(jid);
 	}
 }