diff --git a/src/internal_modules/roc_address/protocol_map.cpp b/src/internal_modules/roc_address/protocol_map.cpp index f6ab7046c..93697e8c6 100644 --- a/src/internal_modules/roc_address/protocol_map.cpp +++ b/src/internal_modules/roc_address/protocol_map.cpp @@ -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; }