Fix string comparison on edge cases

This fixes a few edge cases where the string comparison failed before.
This commit is contained in:
Michael Insel 2018-12-05 20:12:06 +01:00
parent cc417ca176
commit 1352b15220
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ bool NodeUtility::GetConfigurationIncludeState(const String& value, bool recursi
* First hit breaks out of the loop. * First hit breaks out of the loop.
*/ */
if (!line.compare(affectedInclude)) { if (line.compare(0, affectedInclude.GetLength(), affectedInclude) == 0) {
isIncluded = true; isIncluded = true;
/* /*