Replace rand() with g_random_int_range() 13/132913/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 01:01:37 +0000 (01:01 +0000)
commit8178ffd979666a24acb26372d28142682cbfed12
treee1e3b254bc50fb0d091f8c504833600a30a222b1
parent4d6c86a0afb8270f5bfc85e0a5d74664e2fcaf14
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>
alarm-manager.c