Skip to content

Commit

Permalink
Fix spelling mistake (#2896)
Browse files Browse the repository at this point in the history
Signed-off-by: s1nh <hbyls@live.com>
  • Loading branch information
duchengyao authored Aug 1, 2022
1 parent 4d35a6b commit 75c536b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cpp/rtps/builtin/discovery/participant/PDPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ bool PDPServer::process_disposals()
for (auto change: disposals)
{
logInfo(RTPS_PDP_SERVER, "Process disposal change from: " << change->instanceHandle);
// No check is performed on whether the change is an actual disposal, leaving the responsability of correctly
// No check is performed on whether the change is an actual disposal, leaving the responsibility of correctly
// populating the disposals list to discovery_db_.process_data_queue().

// Get the identity of the participant from which the change came.
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/rtps/participant/RTPSParticipantImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Locator_t& RTPSParticipantImpl::applyLocatorAdaptRule(
Locator_t& loc)
{
// This is a completely made up rule
// It is transport responsability to interpret this new port.
// It is transport responsibility to interpret this new port.
loc.port += m_att.port.participantIDGain;
return loc;
}
Expand Down

0 comments on commit 75c536b

Please sign in to comment.