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: https://git.librecmc.org/?a=commitdiff_plain;h=50039c134e104632a7dfe10c9d39cf121aff9a0b;p=oweals%2Fluci.git * Fixed last commit --- 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()