Makes m_clientIpAddress a shared pointer

This commit is contained in:
Felipe Zimmerle
2019-01-22 14:52:18 -03:00
parent 196adcae23
commit 8df35deadb
4 changed files with 10 additions and 10 deletions

View File

@@ -65,7 +65,7 @@ std::string RuleMessage::log(const RuleMessage *rm, int props, int code) {
std::string msg("");
if (props & ClientLogMessageInfo) {
msg.append("[client " + std::string(rm->m_clientIpAddress) + "] ");
msg.append("[client " + std::string(*rm->m_clientIpAddress.get()) + "] ");
}
if (rm->m_isDisruptive) {