diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-03-04 20:22:29 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-03-04 20:22:29 +0100 |
commit | 56b7e9f8bf32824e0725005fcd0d2fa14a4ce088 (patch) | |
tree | f5373f44a394ba3eb8af062ec8c2d7ba83e66a35 | |
parent | 08ea4d3e2a6f438d80a56ba5961f7afa6dddcd42 (diff) |
Use the native IOVector type in StreamSocket::DoWrite()
-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()); |