changeset 7965:b02b30247e7a

[gaim-migrate @ 8642] oops committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 31 Dec 2003 08:22:55 +0000
parents a5c70e43ee43
children 7d25d4e50343
files src/protocols/jabber/presence.c src/protocols/jabber/xdata.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c	Wed Dec 31 08:05:22 2003 +0000
+++ b/src/protocols/jabber/presence.c	Wed Dec 31 08:22:55 2003 +0000
@@ -313,7 +313,7 @@
 				jabber_chat_destroy(chat);
 			} else {
 				gaim_conv_chat_remove_user(GAIM_CONV_CHAT(chat->conv), jid->resource,
-						real_jid);
+						NULL);
 			}
 		} else {
 			if(!jabber_chat_find_buddy(chat->conv, jid->resource))
--- a/src/protocols/jabber/xdata.c	Wed Dec 31 08:05:22 2003 +0000
+++ b/src/protocols/jabber/xdata.c	Wed Dec 31 08:22:55 2003 +0000
@@ -260,7 +260,7 @@
 					data->values = g_slist_prepend(data->values, value);
 
 					gaim_request_field_list_add(field, lbl, value);
-					if(g_list_find_custom(selected, value, g_str_equal))
+					if(g_list_find_custom(selected, value, (GCompareFunc)strcmp))
 						gaim_request_field_list_add_selected(field, lbl);
 				}
 				gaim_request_field_group_add_field(group, field);