From: Tomasz Bursztyka Date: Tue, 17 Apr 2012 10:54:20 +0000 (+0300) Subject: bluetooth: use g_hash_table_replace instead of insert function X-Git-Tag: 2.0_alpha~411 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a9faff827c73959eeb4a35f898a591bbf6f5004;p=framework%2Fconnectivity%2Fconnman.git bluetooth: use g_hash_table_replace instead of insert function --- diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 1c8d3a0..09e318b 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -446,7 +446,7 @@ static void network_properties_reply(DBusPendingCall *call, void *user_data) connman_network_set_group(network, ident); - g_hash_table_insert(bluetooth_networks, g_strdup(path), network); + g_hash_table_replace(bluetooth_networks, g_strdup(path), network); done: dbus_message_unref(reply);