Replace rand() with g_random_int_range() 57/133157/2
authorJiwoong Im <jiwoong.im@samsung.com>
Thu, 8 Jun 2017 08:42:56 +0000 (17:42 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Fri, 9 Jun 2017 05:23:38 +0000 (05:23 +0000)
commit7ed4a20298d09d3e7f23fc2499724f829b3f5831
tree330a5f913e2ceb7b6e7ea1b680dfa6fe9600b47d
parent91a55e891e2c08adfaf0d2315b7901db1c255a53
Replace rand() with g_random_int_range()

- If unique_id are generated consecutively within one second,
  the same id can be generated.

Change-Id: I7937bd75ecaffbf5b173a9cc95dcf3064190a90e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
(cherry picked from commit 8178ffd979666a24acb26372d28142682cbfed12)
alarm-manager.c