Skip to content

Commit 859c35c

Browse files
authored
DPL: fix DDS config generation with empty --channel-prefix (#4887)
1 parent 45be73c commit 859c35c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Framework/Core/src/DDSConfigHelpers.cxx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ void dumpDeviceSpec2DDS(std::ostream& out,
4646
ai++;
4747
continue;
4848
}
49+
// If channel-prefix is empty do not print it out
50+
if (strcmp(arg, "--channel-prefix") == 0 &&
51+
ai + 1 < execution.args.size() &&
52+
*execution.args[ai + 1] == 0) {
53+
ai++;
54+
continue;
55+
}
4956
out << arg << " ";
5057
}
5158
out << "--plugin-search-path $FAIRMQ_ROOT/lib --plugin dds";

0 commit comments

Comments
 (0)