X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftask.c;h=97de7e351c9c1948321e451095395fa782eb45ef;hb=230905c20905f2bc5ccf4b8fab75c1b5df2ac31d;hp=8be3b2520e704ea3e49b33520df0aadd5d0652e7;hpb=a0464661f2aee397e6f6d48dbb7e7bb84a0c5610;p=framework%2Fconnectivity%2Fconnman.git diff --git a/src/task.c b/src/task.c index 8be3b25..97de7e3 100644 --- a/src/task.c +++ b/src/task.c @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2010 Intel Corporation. All rights reserved. + * Copyright (C) 2007-2012 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -240,7 +240,7 @@ int connman_task_set_notify(struct connman_task *task, const char *member, notify->func = function; notify->data = user_data; - g_hash_table_insert(task->notify, g_strdup(member), notify); + g_hash_table_replace(task->notify, g_strdup(member), notify); return 0; }