Possible fix of loop after Internet down?

This commit is contained in:
Andy CA6JAU 2016-11-18 00:38:00 -03:00
parent 6ed5038cc0
commit fa89fc99a5

View file

@ -559,7 +559,6 @@ bool CDMRNetwork::write(const unsigned char* data, unsigned int length)
bool ret = m_socket.write(data, length, m_address, m_port);
if (!ret) {
LogError("DMR, Socket has failed when writing data to the master, retrying connection");
close();
open();
return false;
}