# HG changeset patch # User Mike Ruprecht # Date 1218756221 0 # Node ID b5ba1ab6ebdce25c3a3816d0155f94329b6f31c6 # Parent aaf11cffe2b267c5553be88dc122659d1f421881 Remove warning. diff -r aaf11cffe2b2 -r b5ba1ab6ebdc libpurple/protocols/jabber/jingle.c --- a/libpurple/protocols/jabber/jingle.c Thu Aug 14 23:14:56 2008 +0000 +++ b/libpurple/protocols/jabber/jingle.c Thu Aug 14 23:23:41 2008 +0000 @@ -277,7 +277,8 @@ static JingleSession * jabber_jingle_session_find_by_jid(JabberStream *js, const char *jid) { - GList *values = g_hash_table_get_values(js->sessions); + GList *values = (js->sessions) ? + g_hash_table_get_values(js->sessions) : NULL; gboolean use_bare = strchr(jid, '/') == NULL; for (; values; values = g_list_delete_link(values, values)) {