microRTPS: agent: make sure that is able to subscribe a timesync stream from itself

This commit is contained in:
TSC21
2020-03-05 15:38:18 +00:00
committed by Nuno Marques
parent cfd8e368df
commit 6dea2dd97d
3 changed files with 16 additions and 6 deletions
+1 -2
View File
@@ -139,8 +139,7 @@ void @(topic)_Publisher::PubListener::onPublicationMatched(Publisher* pub, Match
// If the matching happens for the same entity, do not make a match
if (is_different_endpoint) {
if (info.status == MATCHED_MATCHING)
{
if (info.status == MATCHED_MATCHING) {
n_matched++;
std::cout << " - @(topic) publisher matched" << std::endl;
} else {