Use localtime_r() instead of localtime() 79/193079/1
authorMilind Murhekar <m.murhekar@samsung.com>
Wed, 14 Nov 2018 08:59:45 +0000 (14:29 +0530)
committerMilind Murhekar <m.murhekar@samsung.com>
Wed, 14 Nov 2018 08:59:45 +0000 (14:29 +0530)
commit07972a99da894e2c278f87cd9d8e3019cf92b739
treeb5399a327898202e726b601d5ebeac9bfd632739
parent7b9e9ce6289594e586c4726d32c7db72c8e5a420
Use localtime_r() instead of localtime()

This patch fixes the SVACE issue for locatime()
usage without thread safety.

Change-Id: Icc67ba1f949847b2ee5c903a1035e9ede6e764e2
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
src/monitor/stc-time.c