1
0
mirror of https://github.com/luapower/mysql.git synced 2025-01-01 14:00:27 +01:00

unimportant

This commit is contained in:
Cosmin Apreutesei 2021-09-24 20:37:56 +03:00
parent a7a30e7cdb
commit eeb2eac05e

View File

@ -829,7 +829,7 @@ local function recv(self, sz)
self.buf = buf self.buf = buf
end end
local buf = buf(sz) local buf = buf(sz)
check_io(self, self.tcp:recvall(buf, sz)) check_io(self, self.tcp:recvn(buf, sz))
local i = 0 local i = 0
return function(n, err) return function(n, err)
n = n or sz-i n = n or sz-i