changeset 2112:0ad5f2cf6728

[gaim-migrate @ 2122] oo, fun. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 02 Aug 2001 20:52:04 +0000
parents 109669b3887e
children 9f83b7ef1fdc
files src/protocols/jabber/jabber.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Thu Aug 02 20:45:08 2001 +0000
+++ b/src/protocols/jabber/jabber.c	Thu Aug 02 20:52:04 2001 +0000
@@ -852,7 +852,8 @@
 
 		if ((g = xmlnode_get_firstchild(x))) {
 			while (g) {
-				if (strncasecmp(xmlnode_get_name(g), "group", 5) == 0) {
+				if (xmlnode_get_name(g) &&
+						g_strncasecmp(xmlnode_get_name(g), "group", 5) == 0) {
 					struct buddy *b = NULL;
 					char *groupname, *buddyname;