diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/server_epoll.lua | 2 |
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(); |