diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-06-19 16:45:12 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-06-19 16:45:12 +0200 |
commit | 858a859e59dcd794f0e6d50030e183be6ded0f7c (patch) | |
tree | d5247bbb8f30932544f86ebbbab9b2161fe4c1b5 /unix/vncconfig/vncconfig.cxx | |
parent | 78510b981b211e29a06a30fa091b08070429b829 (diff) | |
parent | 28c3f121613807df6d53dde9ac653916dcf8902d (diff) | |
download | tigervnc-858a859e59dcd794f0e6d50030e183be6ded0f7c.tar.gz tigervnc-858a859e59dcd794f0e6d50030e183be6ded0f7c.zip |
Merge branch 'present' of github.com:CendioOssman/tigervnc
Diffstat (limited to 'unix/vncconfig/vncconfig.cxx')
-rw-r--r-- | unix/vncconfig/vncconfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncconfig/vncconfig.cxx b/unix/vncconfig/vncconfig.cxx index e0c9928a..30d04ca6 100644 --- a/unix/vncconfig/vncconfig.cxx +++ b/unix/vncconfig/vncconfig.cxx @@ -313,7 +313,7 @@ int main(int argc, char** argv) // Process expired timers and get the time until the next one int timeoutMs = Timer::checkTimeouts(); - if (timeoutMs) { + if (timeoutMs >= 0) { tv.tv_sec = timeoutMs / 1000; tv.tv_usec = (timeoutMs % 1000) * 1000; tvp = &tv; |