diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2012-04-17 13:54:20 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-04-17 13:31:22 +0200 |
commit | 1a9faff827c73959eeb4a35f898a591bbf6f5004 (patch) | |
tree | 09c890fc4d0c9f09edda832443a105cbb50f794f /plugins | |
parent | 502db25741c624afaf58ad5f1ee8b99fa6e7fba4 (diff) | |
download | connman-1a9faff827c73959eeb4a35f898a591bbf6f5004.tar.gz connman-1a9faff827c73959eeb4a35f898a591bbf6f5004.tar.bz2 connman-1a9faff827c73959eeb4a35f898a591bbf6f5004.zip |
bluetooth: use g_hash_table_replace instead of insert function
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bluetooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 1c8d3a0c..09e318ba 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); |