summaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp2
1 files changed, 1 insertions, 1 deletions
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