From: Taesoo Jun Date: Wed, 1 Aug 2018 09:54:47 +0000 (+0900) Subject: Fix week_start_ts into day_start_ts X-Git-Tag: accepted/tizen/unified/20180809.074806^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c9f59bedb5545a376b2ff86c34919095e62dd62;hp=51cbe71376f0087b2fbe5049d27be1a235f08b46;p=platform%2Fcore%2Fconnectivity%2Fstc-manager.git Fix week_start_ts into day_start_ts Change-Id: I1906bf6fba572bec7d1a1f5c29206c4b0ee64114 Signed-off-by: Taesoo Jun --- diff --git a/src/monitor/stc-monitor.c b/src/monitor/stc-monitor.c index 3abebef..2a42682 100644 --- a/src/monitor/stc-monitor.c +++ b/src/monitor/stc-monitor.c @@ -689,7 +689,7 @@ static void __process_restriction(enum traffic_restriction_type rstn_type, memset(&stat, 0, sizeof(cumulative_data_s)); stat.month_start_ts = rstn_value->month_start_ts; stat.week_start_ts = g_system->last_week_ts; - stat.week_start_ts = g_system->last_day_ts; + stat.day_start_ts = g_system->last_day_ts; memset(&rule, 0, sizeof(table_statistics_select_rule)); rule.from = rstn_value->month_start_ts;