From 56b7e9f8bf32824e0725005fcd0d2fa14a4ce088 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 4 Mar 2015 20:22:29 +0100 Subject: Use the native IOVector type in StreamSocket::DoWrite() --- src/inspsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(sendq[i].data()); -- cgit v1.2.3