Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio Luck committed Oct 26, 2024
1 parent c41ad8b commit c024a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lsbom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ int main(int argc, char *argv[]) {

DEBUG(2, "BOMVar 0x" << hex << ntohl(var->index) << ' ' << name << ':');

if (strstr(name.c_str(),"Paths") == 0) {
if (name.rfind("Paths", 0) == 0) {
BOMPaths *paths = (BOMPaths *)lookup(tree->child);

typedef map<uint32_t, string> filenames_t;
Expand Down

0 comments on commit c024a9b

Please sign in to comment.