aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 4670f670..7b6f4680 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -504,7 +504,7 @@ function interface:onwritable()
buffer[i] = nil;
end
else
- data.writebuffer = data:sub(partial+1);
+ self.writebuffer = data:sub(partial+1);
end
self:set(nil, true);
self:setwritetimeout();