diff options
| author | 2015-03-04 20:22:29 +0100 | |
|---|---|---|
| committer | 2015-03-04 20:22:29 +0100 | |
| commit | 56b7e9f8bf32824e0725005fcd0d2fa14a4ce088 (patch) | |
| tree | f5373f44a394ba3eb8af062ec8c2d7ba83e66a35 /src | |
| parent | Remove DISABLE_WRITEV and StreamSocket code for platforms lacking writev() su... (diff) | |
Use the native IOVector type in StreamSocket::DoWrite()
Diffstat (limited to 'src')
| -rw-r--r-- | src/inspsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index c9f8252f0..2646e265f 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -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()); |
