diff libpurple/protocols/jabber/jingle/session.c @ 29329:c38f6e6bf4ce

propagate from branch 'im.pidgin.pidgin' (head f0addfa93983499a661e29f567e66a98a9544a89) to branch 'im.pidgin.pidgin.next.minor' (head 9c3b44f9ecfcb6fde88c8bcc3a27a16587422f2e)
author Paul Aurich <paul@darkrain42.org>
date Wed, 09 Dec 2009 03:52:00 +0000
parents c4f836780e1c 3d471a4bafac
children a8cc50c2279f
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jingle/session.c	Mon Nov 30 06:24:32 2009 +0000
+++ b/libpurple/protocols/jabber/jingle/session.c	Wed Dec 09 03:52:00 2009 +0000
@@ -376,7 +376,7 @@
 {
 	JingleSession *session = (JingleSession *)value;
 	const gchar *jid = user_data;
-	gboolean use_bare = g_utf8_strchr(jid, -1, '/') == NULL;
+	gboolean use_bare = strchr(jid, '/') == NULL;
 	gchar *remote_jid = jingle_session_get_remote_jid(session);
 	gchar *cmp_jid = use_bare ? jabber_get_bare_jid(remote_jid)
 				  : g_strdup(remote_jid);