summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Tox/src/tox_thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_thread.h b/protocols/Tox/src/tox_thread.h
index 6b1a013398..b476f54686 100644
--- a/protocols/Tox/src/tox_thread.h
+++ b/protocols/Tox/src/tox_thread.h
@@ -23,6 +23,7 @@ public:
// toxav_iterate(toxAV);
}
uint32_t interval = tox_iteration_interval(tox);
+ interval ++; /* Prevent zero sleep interval. */
Sleep(interval);
}