From 3aab8be81f96e8a32a1edc09b836e6c0264d39e7 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 7 Jan 2017 17:58:48 +0100 Subject: Debug output --- common/log.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/log.cpp') 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 for (const auto &item : list) { if (item.startsWith('*')) { auto stripped = item.mid(1); + stripped.endsWith('*'); + stripped.chop(1); if (pattern.contains(stripped)) { return true; } -- cgit v1.2.3