session: Initialize service hash correctly
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 22 Aug 2011 11:16:02 +0000 (13:16 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 23 Aug 2011 15:22:29 +0000 (17:22 +0200)
src/session.c

index 9fecf81..3086b2f 100644 (file)
@@ -1435,7 +1435,7 @@ int __connman_session_create(DBusMessage *msg)
                g_dbus_add_disconnect_watch(connection, session->owner,
                                        owner_disconnect, session, NULL);
 
-       session->service_hash = g_hash_table_new_full(g_str_hash, g_str_equal,
+       session->service_hash = g_hash_table_new_full(g_direct_hash, g_direct_equal,
                                                NULL, NULL);
 
        info->online = FALSE;