Skip to content

Commit

Permalink
2 typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed Jun 20, 2024
1 parent 7c9edea commit 9f61796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecal/core/src/pubsub/ecal_subgate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ namespace eCAL

iter->second->ApplyLocLayerParameter(process_id, topic_id, tlayer.type(), writer_par);
}
// we only inform the subscriber when the publisher has already recognized at least on local subscriber
// we only inform the subscriber when the publisher has already recognized at least one local subscriber
// this should avoid to set the "IsPublished" state before the publisher is able to send data
if (ecal_sample_.topic().connections_loc() > 0)
{
Expand Down Expand Up @@ -349,7 +349,7 @@ namespace eCAL
const std::string writer_par = tlayer.par_layer().SerializeAsString();
iter->second->ApplyExtLayerParameter(host_name, tlayer.type(), writer_par);
}
// we only inform the subscriber when the publisher has already recognized at least on external subscriber
// we only inform the subscriber when the publisher has already recognized at least one external subscriber
// this should avoid to set the "IsPublished" state before the publisher is able to send data
if (ecal_sample_.topic().connections_ext() > 0)
{
Expand Down

0 comments on commit 9f61796

Please sign in to comment.