summaryrefslogtreecommitdiffhomepage
path: root/libs/httpd/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-29 14:57:30 +0000
committerSteven Barth <steven@midlink.org>2008-06-29 14:57:30 +0000
commit50039c134e104632a7dfe10c9d39cf121aff9a0b (patch)
tree5fc3935b8106a6f8576351dfc3e1d612f7f28989 /libs/httpd/luasrc
parent62c61045d8fe1b9458f608264ab392a2f43badf9 (diff)
* Fixed last commit
Diffstat (limited to 'libs/httpd/luasrc')
-rw-r--r--libs/httpd/luasrc/httpd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/httpd/luasrc/httpd.lua b/libs/httpd/luasrc/httpd.lua
index 1961019502..8b54f0e645 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()