diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-07 17:58:48 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-07 17:58:48 +0100 |
commit | 3aab8be81f96e8a32a1edc09b836e6c0264d39e7 (patch) | |
tree | 0acef21cde8c913ed2a1bd8a1cb9cf41dc372a57 /common/log.cpp | |
parent | 35a3afc591c85999de856c21dbb493e341951d91 (diff) | |
download | sink-3aab8be81f96e8a32a1edc09b836e6c0264d39e7.tar.gz sink-3aab8be81f96e8a32a1edc09b836e6c0264d39e7.zip |
Debug output
Diffstat (limited to 'common/log.cpp')
-rw-r--r-- | common/log.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/log.cpp b/common/log.cpp index c677521..9dd0365 100644 --- a/common/log.cpp +++ b/common/log.cpp | |||
@@ -275,6 +275,8 @@ static bool containsItemStartingWith(const QByteArray &pattern, const QByteArray | |||
275 | for (const auto &item : list) { | 275 | for (const auto &item : list) { |
276 | if (item.startsWith('*')) { | 276 | if (item.startsWith('*')) { |
277 | auto stripped = item.mid(1); | 277 | auto stripped = item.mid(1); |
278 | stripped.endsWith('*'); | ||
279 | stripped.chop(1); | ||
278 | if (pattern.contains(stripped)) { | 280 | if (pattern.contains(stripped)) { |
279 | return true; | 281 | return true; |
280 | } | 282 | } |