diff options
author | Alon Levy <alevy@redhat.com> | 2010-12-14 10:24:33 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-01-10 14:11:37 +0200 |
commit | 0707feca4351585fb1d54cdc27f7c7838fd16386 (patch) | |
tree | 91b22d01a9badf51e37df06fb626de11b21bd166 /server/tests | |
parent | 9cdeac5da59b6f695c14cc315c8593160d04ca9d (diff) | |
download | spice-0707feca4351585fb1d54cdc27f7c7838fd16386.tar.gz spice-0707feca4351585fb1d54cdc27f7c7838fd16386.tar.xz spice-0707feca4351585fb1d54cdc27f7c7838fd16386.zip |
server/tests: basic_event_loop: reset timer after firing it
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/basic_event_loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/tests/basic_event_loop.c b/server/tests/basic_event_loop.c index f6570ff5..a50a9163 100644 --- a/server/tests/basic_event_loop.c +++ b/server/tests/basic_event_loop.c @@ -278,6 +278,7 @@ void timeout_timers() count++; DPRINTF(1, "calling timer"); next->func(next->opaque); + next->ms = 0; } next = (SpiceTimer*)ring_next(&timers, &next->link); } |