diff options
Diffstat (limited to '')
-rw-r--r-- | samples/get.lua (renamed from etc/get.lua) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/get.lua b/samples/get.lua index 9edc235..d53c465 100644 --- a/etc/get.lua +++ b/samples/get.lua | |||
@@ -71,7 +71,7 @@ function stats(size) | |||
71 | local current = socket.gettime() | 71 | local current = socket.gettime() |
72 | if chunk then | 72 | if chunk then |
73 | -- total bytes received | 73 | -- total bytes received |
74 | got = got + string.len(chunk) | 74 | got = got + string.len(chunk) |
75 | -- not enough time for estimate | 75 | -- not enough time for estimate |
76 | if current - last > 1 then | 76 | if current - last > 1 then |
77 | io.stderr:write("\r", gauge(got, current - start, size)) | 77 | io.stderr:write("\r", gauge(got, current - start, size)) |