From 3a11a742ba35155e1b2e14dc4ef1a4f7f659ea13 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 8 Aug 2016 14:28:02 +0200 Subject: Pass sendq to OnStreamSocketWrite --- src/inspsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspsocket.cpp') diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 89c3a71a9..dcc455482 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -201,7 +201,7 @@ void StreamSocket::DoWrite() if (GetIOHook()) { - int rv = GetIOHook()->OnStreamSocketWrite(this); + int rv = GetIOHook()->OnStreamSocketWrite(this, sendq); if (rv < 0) SetError("Write Error"); // will not overwrite a better error message -- cgit v1.3.1-10-gc9f91