Skip to content

Commit

Permalink
ran scons fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrick87 committed Nov 11, 2023
1 parent 580dde1 commit dc499fc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/internal_modules/roc_address/protocol_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,10 @@ bool ProtocolMap::get_supported_protocols(Interface interface, core::StringList&

for (size_t x = 0; x < MaxProtos; x++) {
if (interface == ProtocolMap::instance().protos_[x].iface) {

const char * proto_name = proto_to_str(ProtocolMap::instance().protos_[x].protocol);

if(!list.find(proto_name))
{
const char* proto_name =
proto_to_str(ProtocolMap::instance().protos_[x].protocol);

if (!list.find(proto_name)) {
if (!list.push_back(proto_name)) {
return false;
}
Expand Down

0 comments on commit dc499fc

Please sign in to comment.