aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-06-12 18:33:26 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-06-12 18:33:26 +0000
commit8de17dbed0354e6e3475defec2fb046a559f1c47 (patch)
treed7390da47980dd5cb9c37438d8545baa3443438a /src/timer.c
parent6f2be4727064bf96c9cfa4622c144566b8c7d7cf (diff)
downloadmpd-8de17dbed0354e6e3475defec2fb046a559f1c47.tar.gz
mpd-8de17dbed0354e6e3475defec2fb046a559f1c47.tar.xz
mpd-8de17dbed0354e6e3475defec2fb046a559f1c47.zip
Use <= when comparing (current time - start time) to a timeout. This way
if the clock ticks right after we get the start time and the timeout is only one second, we'll still wait a full second instead of returning immediately. git-svn-id: https://svn.musicpd.org/mpd/trunk@6557 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/timer.c')
0 files changed, 0 insertions, 0 deletions