Change-Id: I0b741ffd37d3848a6ce01c260908e3acd8b80cf2
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
static gboolean __flush_apps_stats_to_database(gpointer user_data)
{
- time_t current_time = time(0);
+ time_t current_time = 0;
+ time(¤t_time);
if (g_system->apps_tree_updated == FALSE)
return G_SOURCE_REMOVE;
context->counter->iftype == STC_IFACE_USB) ||
(app_value->classid == STC_TETHERING_APP_CLASSID &&
context->counter->iftype == STC_IFACE_P2P))
- __app_counter_update(app_key, app_value, context);
+ __app_counter_update(app_key, app_value, context);
}