Skip to content

Commit 3552bce

Browse files
authored
Make sure only the signposts matching the provided string are enabled (#13790)
1 parent 1432c4b commit 3552bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/src/runDataProcessing.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2786,7 +2786,7 @@ void enableSignposts(std::string const& signpostsToEnable)
27862786
}
27872787

27882788
auto fullName = prefix + std::string{selectedName, last ? last - selectedName : strlen(selectedName)};
2789-
if (strncmp(name, fullName.data(), fullName.size()) == 0) {
2789+
if (fullName == name) {
27902790
LOGP(info, "Enabling signposts for stream \"{}\" with depth {}.", fullName, maxDepth);
27912791
_o2_log_set_stacktrace(log, maxDepth);
27922792
return false;

0 commit comments

Comments
 (0)