Use the native IOVector type in StreamSocket::DoWrite()

This commit is contained in:
Attila Molnar 2015-03-04 20:22:29 +01:00
parent 08ea4d3e2a
commit 56b7e9f8bf

View File

@ -297,7 +297,7 @@ void StreamSocket::DoWrite()
int rv_max = 0;
int rv;
{
iovec iovecs[MYIOV_MAX];
SocketEngine::IOVector iovecs[MYIOV_MAX];
for (int i = 0; i < bufcount; i++)
{
iovecs[i].iov_base = const_cast<char*>(sendq[i].data());