Software /
code /
prosody
Changeset
2273:b98b29f614ae
mod_proxy65: Remove trailing whitespace
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 01 Dec 2009 20:18:47 +0000 |
parents | 2272:9c3564117b24 |
children | 2274:6241da17f48d 2295:0d954d52062f |
files | plugins/mod_proxy65.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_proxy65.lua Tue Dec 01 20:07:07 2009 +0000 +++ b/plugins/mod_proxy65.lua Tue Dec 01 20:18:47 2009 +0000 @@ -67,7 +67,7 @@ data:sub(4):byte() == 0x03 and -- ATYP must be 3 data:sub(5):byte() == 40 and -- SHA1 HASH length must be 40 (0x28) data:sub(-2):byte() == 0x00 and -- PORT must be 0, size 2 byte - data:sub(-1):byte() == 0x00 + data:sub(-1):byte() == 0x00 then local sha = data:sub(6, 45); -- second param is not count! it's the ending index (included!) if transfers[sha] == nil then