]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4290 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 5 Jun 2012 17:29:53 +0000 (12:29 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 5 Jun 2012 17:30:01 +0000 (12:30 -0500)
src/switch_time.c

index 381d2dc5ada6607697ed6e25cc39ea7a0f419a33..d4f5454d3b4256969ba874e83ee9b9d3622d8782 100644 (file)
@@ -941,7 +941,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime)
 
                runtime.timestamp = ts;
                current_ms += (runtime.microseconds_per_tick / 1000);
-               tick += (runtime.microseconds_per_tick / 1000);
+               tick++;
 
                if (time_sync < runtime.time_sync) {
                        time_sync++; /* Only step once for each loop, we want to make sure to keep this thread safe */