* Fixed last commit
authorSteven Barth <steven@midlink.org>
Sun, 29 Jun 2008 14:57:30 +0000 (14:57 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 29 Jun 2008 14:57:30 +0000 (14:57 +0000)
libs/httpd/luasrc/httpd.lua

index 19610195027afa0309fd1901073d977388059f5b..8b54f0e645810671793c6e550a33d70d5ea4efa3 100644 (file)
@@ -66,7 +66,7 @@ function cosend(socket, chunk, i, ...)
                        threadi[socket] = false
                        return stat, err, sent
                else
-                       i = sent and (sent + 1) or 
+                       i = sent and (sent + 1) or i
                end
  
                coroutine.yield()