event/SocketMonitor: eliminate Read(), Write()
Migrate callers to GetSocket().Read(), GetSocket.Write(), which is the same.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
FullyBufferedSocket::ssize_t
|
||||
FullyBufferedSocket::DirectWrite(const void *data, size_t length)
|
||||
{
|
||||
const auto nbytes = SocketMonitor::Write((const char *)data, length);
|
||||
const auto nbytes = GetSocket().Write((const char *)data, length);
|
||||
if (gcc_unlikely(nbytes < 0)) {
|
||||
const auto code = GetSocketError();
|
||||
if (IsSocketErrorAgain(code))
|
||||
|
||||
Reference in New Issue
Block a user