summaryrefslogtreecommitdiff
path: root/src/utils/tokencollector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/tokencollector.cpp')
-rw-r--r--src/utils/tokencollector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/tokencollector.cpp b/src/utils/tokencollector.cpp
index ecbae632..2af10445 100644
--- a/src/utils/tokencollector.cpp
+++ b/src/utils/tokencollector.cpp
@@ -92,7 +92,8 @@ void TokenCollectorBase::removeOutdated(time_t current)
{
// Timeout happens after 30 seconds. Much longer may actually pass, though.
time_t threshold = current - 30;
- if (threshold < mLastCheck) return;
+ if (threshold < mLastCheck)
+ return;
std::list<Item>::iterator it;