diff options
author | Thomas Klausner <tk@giga.or.at> | 2021-04-04 14:34:04 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2021-04-04 14:34:04 +0200 |
commit | 997cf16ec4f8389f30af7166ee96442c16628ff1 (patch) | |
tree | 673213e7cafbc381a80d1eaecbd26a13eb56ed94 | |
parent | 2d71d50e93f981b56241d38f71436dfeac83cbe9 (diff) |
Fix bug in glib 2.32 conversion
-rw-r--r-- | src/fl_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_local.c b/src/fl_local.c index 1ee9b84..ce1ea61 100644 --- a/src/fl_local.c +++ b/src/fl_local.c @@ -505,7 +505,7 @@ static int fl_hash_burst(guint64 lastreset) { int b = 0; g_mutex_lock(&fl_hash_resetlock); while(fl_hash_reset == lastreset && (b = ratecalc_burst(&fl_hash_rate)) <= 0) - g_cond_wait_until(&fl_hash_resetcond, &fl_hash_resetlock, g_get_monotonic_time()* + 100*G_TIME_SPAN_MILLISECOND); + g_cond_wait_until(&fl_hash_resetcond, &fl_hash_resetlock, g_get_monotonic_time() + 100*G_TIME_SPAN_MILLISECOND); g_mutex_unlock(&fl_hash_resetlock); return b; } |