mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Use the native IOVector type in StreamSocket::DoWrite()
This commit is contained in:
parent
08ea4d3e2a
commit
56b7e9f8bf
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user