Skip to content

Commit

Permalink
Merge pull request #887 from redboltz/fix_topic_prefix_for_sub
Browse files Browse the repository at this point in the history
Fixed topic_prefix.
  • Loading branch information
redboltz authored Oct 15, 2021
2 parents e838152 + 53d2516 commit a292c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/bench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ int main(int argc, char **argv) {
return MQTT_NS::nullopt;
} ();
auto cid_prefix = vm["cid_prefix"].as<std::string>();
auto topic_prefix = vm["cid_prefix"].as<std::string>();
auto topic_prefix = vm["topic_prefix"].as<std::string>();

auto cacert =
[&] () -> MQTT_NS::optional<std::string> {
Expand Down

0 comments on commit a292c9c

Please sign in to comment.