From 50039c134e104632a7dfe10c9d39cf121aff9a0b Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 29 Jun 2008 14:57:30 +0000 Subject: [PATCH] * Fixed last commit --- libs/httpd/luasrc/httpd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/httpd/luasrc/httpd.lua b/libs/httpd/luasrc/httpd.lua index 196101950..8b54f0e64 100644 --- a/libs/httpd/luasrc/httpd.lua +++ b/libs/httpd/luasrc/httpd.lua @@ -66,7 +66,7 @@ function cosend(socket, chunk, i, ...) threadi[socket] = false return stat, err, sent else - i = sent and (sent + 1) or 1 + i = sent and (sent + 1) or i end coroutine.yield() -- 2.25.1