Fix a typo in a function name (match_pairt)
It’s totally harmless
This commit is contained in:
@@ -47,7 +47,7 @@ std::string IdentdSocket::generate_answer(const BiboumiComponent& biboumi, uint1
|
|||||||
{
|
{
|
||||||
for (const auto& pair: bridge->get_irc_clients())
|
for (const auto& pair: bridge->get_irc_clients())
|
||||||
{
|
{
|
||||||
if (pair.second->match_port_pairt(local, remote))
|
if (pair.second->match_port_pair(local, remote))
|
||||||
{
|
{
|
||||||
std::ostringstream os;
|
std::ostringstream os;
|
||||||
os << local << " , " << remote << " : USERID : OTHER : " << hash_jid(bridge->get_bare_jid()) << "\r\n";
|
os << local << " , " << remote << " : USERID : OTHER : " << hash_jid(bridge->get_bare_jid()) << "\r\n";
|
||||||
|
|||||||
@@ -261,7 +261,7 @@ std::string TCPClientSocketHandler::get_port() const
|
|||||||
return this->port;
|
return this->port;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TCPClientSocketHandler::match_port_pairt(const uint16_t local, const uint16_t remote) const
|
bool TCPClientSocketHandler::match_port_pair(const uint16_t local, const uint16_t remote) const
|
||||||
{
|
{
|
||||||
const auto remote_port = static_cast<uint16_t>(std::stoi(this->port));
|
const auto remote_port = static_cast<uint16_t>(std::stoi(this->port));
|
||||||
return this->is_connected() && local == this->local_port && remote == remote_port;
|
return this->is_connected() && local == this->local_port && remote == remote_port;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ class TCPClientSocketHandler: public TCPSocketHandler
|
|||||||
/**
|
/**
|
||||||
* Whether or not this connection is using the two given TCP ports.
|
* Whether or not this connection is using the two given TCP ports.
|
||||||
*/
|
*/
|
||||||
bool match_port_pairt(const uint16_t local, const uint16_t remote) const;
|
bool match_port_pair(const uint16_t local, const uint16_t remote) const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool hostname_resolution_failed;
|
bool hostname_resolution_failed;
|
||||||
|
|||||||
Reference in New Issue
Block a user