Index: webrtc/base/socketadapters.cc |
diff --git a/webrtc/base/socketadapters.cc b/webrtc/base/socketadapters.cc |
index 0a9498261339e7cc1385abd65b449c71addb0b12..f6029ce964545695e99c93288720922e7ec0338a 100644 |
--- a/webrtc/base/socketadapters.cc |
+++ b/webrtc/base/socketadapters.cc |
@@ -185,8 +185,8 @@ int AsyncSSLSocket::Connect(const SocketAddress& addr) { |
void AsyncSSLSocket::OnConnectEvent(AsyncSocket * socket) { |
RTC_DCHECK(socket == socket_); |
// TODO: we could buffer output too... |
- VERIFY(sizeof(kSslClientHello) == |
- DirectSend(kSslClientHello, sizeof(kSslClientHello))); |
+ const int res = DirectSend(kSslClientHello, sizeof(kSslClientHello)); |
+ RTC_DCHECK_EQ(sizeof(kSslClientHello), res); |
} |
void AsyncSSLSocket::ProcessInput(char* data, size_t* len) { |