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 c7527ee49..44ecbb232 100644 --- a/src/lib/update.cc +++ b/src/lib/update.cc @@ -90,7 +90,7 @@ UpdateChecker::run () void UpdateChecker::thread () { - while (1) { + while (true) { /* Block until there is something to do */ boost::mutex::scoped_lock lock (_process_mutex); while (_to_do == 0) { |
