Tari: connect to a node and get unique_id
This commit is contained in:
+3
-3
@@ -554,9 +554,9 @@ bool TCPServer::send_internal(Client* client, Callback<size_t, uint8_t*, size_t>
|
||||
PANIC_STOP();
|
||||
}
|
||||
|
||||
if (bytes_written == 0) {
|
||||
LOGWARN(1, "send callback wrote 0 bytes, nothing to do");
|
||||
return true;
|
||||
if (!bytes_written) {
|
||||
LOGWARN(1, "send callback failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
WriteBuf* buf = get_write_buffer(bytes_written);
|
||||
|
||||
Reference in New Issue
Block a user