comparison src/protocols/jabber/buddy.c @ 7306:7c12dab8e513

[gaim-migrate @ 7890] this should implement the full nodeprep, nameprep, and resourceprep string profiles, so we compare JIDs correctly committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 20 Oct 2003 20:41:42 +0000
parents dee9f6aebbf3
children b250288fa948
comparison
equal deleted inserted replaced
7305:fa25f82dda21 7306:7c12dab8e513
535 GList *resources; 535 GList *resources;
536 const char *from = xmlnode_get_attrib(packet, "from"); 536 const char *from = xmlnode_get_attrib(packet, "from");
537 JabberBuddy *jb; 537 JabberBuddy *jb;
538 JabberBuddyResource *jbr; 538 JabberBuddyResource *jbr;
539 GString *info_text; 539 GString *info_text;
540 const char *resource_name; 540 char *resource_name;
541 char *title; 541 char *title;
542 xmlnode *vcard; 542 xmlnode *vcard;
543 543
544 if(!from) 544 if(!from)
545 return; 545 return;
585 if(purdy) 585 if(purdy)
586 g_free(purdy); 586 g_free(purdy);
587 } 587 }
588 } 588 }
589 589
590 g_free(resource_name);
591
590 if((vcard = xmlnode_get_child(packet, "vCard"))) { 592 if((vcard = xmlnode_get_child(packet, "vCard"))) {
591 xmlnode *child; 593 xmlnode *child;
592 for(child = vcard->child; child; child = child->next) 594 for(child = vcard->child; child; child = child->next)
593 { 595 {
594 xmlnode *child2; 596 xmlnode *child2;