changeset 6803:fb0ff4414e46

[gaim-migrate @ 7343] tweakinating the countryside committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 10 Sep 2003 05:19:49 +0000
parents 662f5bef41b7
children 3ef17670e69f
files src/blist.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Wed Sep 10 04:21:15 2003 +0000
+++ b/src/blist.c	Wed Sep 10 05:19:49 2003 +0000
@@ -1315,6 +1315,10 @@
 
 						((GaimBuddy*)bnode)->present = GAIM_BUDDY_OFFLINE;
 
+						((GaimBuddy*)bnode)->uc = 0;
+						((GaimBuddy*)bnode)->idle = 0;
+						((GaimBuddy*)bnode)->evil = 0;
+
 						if(ops)
 							ops->remove(gaimbuddylist, bnode);
 					}
@@ -1783,7 +1787,7 @@
 	} else if(!strcmp(element_name, "blist")) {
 		tag_stack = g_list_prepend(tag_stack, GINT_TO_POINTER(BLIST_TAG_BLIST));
 	} else if(!strcmp(element_name, "group")) {
-		char *name = NULL;
+		const char *name = NULL;
 		tag_stack = g_list_prepend(tag_stack, GINT_TO_POINTER(BLIST_TAG_GROUP));
 		for(i=0; attribute_names[i]; i++) {
 			if(!strcmp(attribute_names[i], "name")) {