Skip to content

Commit

Permalink
chore: fix redefine variable
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Dec 17, 2023
1 parent 23461ec commit f1b15a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ local function http_send_file(self, path, size, count, offset)
count = size
end

local _, err = sock:send(string.format('%x\r\n', count))
_, err = sock:send(string.format('%x\r\n', count))
if err then
return nil, err
end
Expand Down

0 comments on commit f1b15a4

Please sign in to comment.