diff --git a/YSFReflector/YSFReflector.cpp b/YSFReflector/YSFReflector.cpp index e49f2e8..5ee9bef 100644 --- a/YSFReflector/YSFReflector.cpp +++ b/YSFReflector/YSFReflector.cpp @@ -285,7 +285,7 @@ void CYSFReflector::run() for (std::vector::iterator it = m_repeaters.begin(); it != m_repeaters.end(); ++it) { CYSFRepeater* itRpt = *it; if (itRpt->m_timer.hasExpired()) { - LogMessage("Removing %s (%s:%u) disappeared", itRpt->m_callsign.c_str(), ::inet_ntoa(address), port); + LogMessage("Removing %s (%s:%u) disappeared", itRpt->m_callsign.c_str(), ::inet_ntoa(itRpt->m_address), itRpt->m_port); m_repeaters.erase(it); delete itRpt; network.setCount(m_repeaters.size());