aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-01-26 22:17:38 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2017-01-26 22:18:53 +0100
commitdaf17a52b022fef80dd536a4e092ada93131d890 (patch)
treeff21bd002f7254376c8277de110a2dabf99e475b
parenta6946be9472fc5447630422dd32cc6d7121d2fbf (diff)
downloadhex-daf17a52b022fef80dd536a4e092ada93131d890.tar.gz
hex-daf17a52b022fef80dd536a4e092ada93131d890.tar.xz
hex-daf17a52b022fef80dd536a4e092ada93131d890.zip
bencode.lua: fix formatting
-rw-r--r--plugins/bencode.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bencode.lua b/plugins/bencode.lua
index 8a704fd..7d2f66e 100644
--- a/plugins/bencode.lua
+++ b/plugins/bencode.lua
@@ -25,7 +25,7 @@ end
local function one_value (c, level)
local p, type = c.position, c:read (1)
if type == "e" then
- c (p, c.position -1):mark ("%d: container end", level - 1)
+ c (p, c.position - 1):mark ("%d: container end", level - 1)
return false
elseif type == "i" then
local n = ""