Fix network ports datatype (unsigned int -> unsigned short). UDPSocket: fix old bug using m_port instead of m_port[x].

This commit is contained in:
Daniel Caujolle-Bert
2021-04-25 07:51:01 +02:00
parent 7b1ba5d849
commit ee2d6fd488
23 changed files with 98 additions and 96 deletions
+3 -3
View File
@@ -356,8 +356,8 @@ void CP25Reflector::dumpRepeaters() const
for (std::vector<CP25Repeater*>::const_iterator it = m_repeaters.begin(); it != m_repeaters.end(); ++it) {
char buffer[80U];
LogMessage(" %s: %s %u/%u", (*it)->m_callsign.c_str(),
CUDPSocket::display((*it)->m_addr, buffer, 80U),
(*it)->m_timer.getTimeout(),
(*it)->m_timer.getTimeout());
CUDPSocket::display((*it)->m_addr, buffer, 80U),
(*it)->m_timer.getTimeout(),
(*it)->m_timer.getTimeout());
}
}