From: Steven Barth Date: Sun, 29 Jun 2008 14:57:30 +0000 (+0000) Subject: * Fixed last commit X-Git-Tag: 0.8.0~729 X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=50039c134e104632a7dfe10c9d39cf121aff9a0b * Fixed last commit --- 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()