Fix week_start_ts into day_start_ts 55/185655/1 accepted/tizen/unified/20180809.074806 submit/tizen/20180803.081836 submit/tizen/20180808.125613
authorTaesoo Jun <steve.jun@samsung.com>
Wed, 1 Aug 2018 09:54:47 +0000 (18:54 +0900)
committerTaesoo Jun <steve.jun@samsung.com>
Wed, 1 Aug 2018 09:54:47 +0000 (18:54 +0900)
Change-Id: I1906bf6fba572bec7d1a1f5c29206c4b0ee64114
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
src/monitor/stc-monitor.c

index 3abebef..2a42682 100644 (file)
@@ -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;