Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Srlion committed Oct 22, 2024
1 parent dbdae5e commit 092463f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ do
function decode_string(ctx, len)
local index = ctx[1]
if index + len - 1 > ctx[3] then
return nil, "Attemped to read beyond buffer size"
return nil, "Attempted to read beyond buffer size"
elseif index + len - 1 > ctx[4] then
return nil, "Max decode size exceeded"
end
Expand Down

0 comments on commit 092463f

Please sign in to comment.