Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/tgl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV V <vvaltman@aurum>2015-11-09 18:13:30 +0300
committerV V <vvaltman@aurum>2015-11-09 18:13:30 +0300
commit9b133c477bbc5bca08500be1ac7cb9a60e7f928f (patch)
tree3de610ae0e03cd9d842d64dac8b5a19648156157 /updates.c
parenta7c7e38e0c2e6559bca972db05cfa24c3946a331 (diff)
parent0b3f0536d96eed793513ed181bf2dd0e500cb434 (diff)
Merge branch 'test' of https://github.com/EionRobb/tgl
Diffstat (limited to 'updates.c')
-rw-r--r--updates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updates.c b/updates.c
index 2aa9ad0..3b0f71d 100644
--- a/updates.c
+++ b/updates.c
@@ -798,7 +798,7 @@ static void status_notify (struct tgl_state *TLS, void *arg) {
void tgl_insert_status_update (struct tgl_state *TLS, struct tgl_user *U) {
if (!tree_lookup_user (TLS->online_updates, U)) {
- TLS->online_updates = tree_insert_user (TLS->online_updates, U, lrand48 ());
+ TLS->online_updates = tree_insert_user (TLS->online_updates, U, rand ());
}
if (!TLS->online_updates_timer) {
TLS->online_updates_timer = TLS->timer_methods->alloc (TLS, status_notify, 0);