aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = ""