fix comment typo;

pull/51/head
Bryan Biedenkapp 2 years ago
parent e0b6da51fb
commit 7e3e006fd1

@ -629,7 +629,7 @@ int Socket::lookup(const std::string& hostname, uint16_t port, sockaddr_storage&
/// <summary>
///
/// </summary>
/// <returns>Zero if no error during lookup, otherwise error.</returns>
/// <returns>Textual IP address for the local network interface.</returns>
std::string Socket::getLocalAddress()
{
struct ifaddrs *ifaddr, *ifa;

@ -1213,7 +1213,7 @@ void RESTAPI::restAPI_PutRegisterCCVC(const HTTPPayload& request, HTTPPayload& r
if (voiceCh.address() == "0.0.0.0") {
voiceCh.address(restAddress);
}
if (voiceCh.port() == 0U || voiceCh.port() == REST_API_DEFAULT_PORT) {
voiceCh.port(restPort);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.