From ee4ceb85d19c2c172fe08ce136bc31f876516659 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Fri, 2 Nov 2018 09:24:12 +0100 Subject: [PATCH] Change function name casing Change function name casing to stick to project convention. --- Common/G2ProtocolHandler.cpp | 2 +- Common/G2ProtocolHandler.h | 2 +- ircDDBGateway/IRCDDBGatewayThread.cpp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Common/G2ProtocolHandler.cpp b/Common/G2ProtocolHandler.cpp index e1e49af..7d1fc7e 100644 --- a/Common/G2ProtocolHandler.cpp +++ b/Common/G2ProtocolHandler.cpp @@ -144,7 +144,7 @@ CAMBEData* CG2ProtocolHandler::readAMBE() return data; } -void CG2ProtocolHandler::PunchUDPHole(const wxString& address) +void CG2ProtocolHandler::punchUDPHole(const wxString& address) { unsigned char buffer[1]; ::memset(buffer, 0, 1); diff --git a/Common/G2ProtocolHandler.h b/Common/G2ProtocolHandler.h index b6ca32e..8b74bd5 100644 --- a/Common/G2ProtocolHandler.h +++ b/Common/G2ProtocolHandler.h @@ -52,7 +52,7 @@ public: CHeaderData* readHeader(); CAMBEData* readAMBE(); - void PunchUDPHole(const wxString& addr); + void punchUDPHole(const wxString& addr); void close(); diff --git a/ircDDBGateway/IRCDDBGatewayThread.cpp b/ircDDBGateway/IRCDDBGatewayThread.cpp index 3ce9762..9da5110 100644 --- a/ircDDBGateway/IRCDDBGatewayThread.cpp +++ b/ircDDBGateway/IRCDDBGatewayThread.cpp @@ -719,7 +719,7 @@ void CIRCDDBGatewayThread::processIrcDDB() if (!address.IsEmpty()) { wxLogMessage(wxT("USER: %s %s %s %s"), user.c_str(), repeater.c_str(), gateway.c_str(), address.c_str()); m_cache.updateUser(user, repeater, gateway, address, timestamp, DP_DEXTRA, false, false); - m_g2Handler->PunchUDPHole(address); + m_g2Handler->punchUDPHole(address); } else { wxLogMessage(wxT("USER: %s NOT FOUND"), user.c_str()); } @@ -736,7 +736,7 @@ void CIRCDDBGatewayThread::processIrcDDB() if (!address.IsEmpty()) { wxLogMessage(wxT("REPEATER: %s %s %s"), repeater.c_str(), gateway.c_str(), address.c_str()); m_cache.updateRepeater(repeater, gateway, address, DP_DEXTRA, false, false); - m_g2Handler->PunchUDPHole(address); + m_g2Handler->punchUDPHole(address); } else { wxLogMessage(wxT("REPEATER: %s NOT FOUND"), repeater.c_str()); } @@ -754,7 +754,7 @@ void CIRCDDBGatewayThread::processIrcDDB() if (!address.IsEmpty()) { wxLogMessage(wxT("GATEWAY: %s %s"), gateway.c_str(), address.c_str()); m_cache.updateGateway(gateway, address, DP_DEXTRA, false, false); - m_g2Handler->PunchUDPHole(address); + m_g2Handler->punchUDPHole(address); } else { wxLogMessage(wxT("GATEWAY: %s NOT FOUND"), gateway.c_str()); }