Skip to content

Commit ab3d45b

Browse files
committed
Do not take into an account value, returned by expandDatabaseName()
1 parent bc0b679 commit ab3d45b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utilities/ntrace/TraceConfiguration.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ void TraceCfgReader::readConfig()
129129
PathName expandedName;
130130

131131
if (m_databaseName == noQuotePattern ||
132-
expandDatabaseName(noQuotePattern, expandedName, nullptr) &&
133-
m_databaseName == expandedName)
132+
(expandDatabaseName(noQuotePattern, expandedName, nullptr),
133+
m_databaseName == expandedName) )
134134
{
135135
match = exactMatch = true;
136136
}

0 commit comments

Comments
 (0)