diff options
Diffstat (limited to 'src/lib/update.cc')
| -rw-r--r-- | src/lib/update.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/update.cc b/src/lib/update.cc index 34eaf385c..af3e46f0e 100644 --- a/src/lib/update.cc +++ b/src/lib/update.cc @@ -85,7 +85,7 @@ UpdateChecker::run () void UpdateChecker::thread () { - while (1) { + while (true) { boost::mutex::scoped_lock lock (_process_mutex); while (_to_do == 0) { _condition.wait (lock); |
