aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_proxy65.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-04 14:41:53 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-04 14:41:53 +0000
commit3b8737814d5de1e6ff97dd8b1bd5947c88e20be2 (patch)
tree55518baaeba44c4bedb9aa5a1e5c43f7faf25b64 /plugins/mod_proxy65.lua
parenteb081323349ee495b27b746765267fd86aef9f15 (diff)
downloadprosody-3b8737814d5de1e6ff97dd8b1bd5947c88e20be2.tar.gz
prosody-3b8737814d5de1e6ff97dd8b1bd5947c88e20be2.zip
mod_proxy65: Strip trailing whitespace
Diffstat (limited to 'plugins/mod_proxy65.lua')
-rw-r--r--plugins/mod_proxy65.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_proxy65.lua b/plugins/mod_proxy65.lua
index af618c01..2cfbe7b6 100644
--- a/plugins/mod_proxy65.lua
+++ b/plugins/mod_proxy65.lua
@@ -84,8 +84,8 @@ function connlistener.onincoming(conn, data)
transfers[sha].initiator = conn;
session.sha = sha;
module:log("debug", "initiator connected ... ");
- throttle_sending(conn, transfers[sha].target);
- throttle_sending(transfers[sha].target, conn);
+ throttle_sending(conn, transfers[sha].target);
+ throttle_sending(transfers[sha].target, conn);
end
conn:write(string.char(5, 0, 0, 3, sha:len()) .. sha .. string.char(0, 0)); -- VER, REP, RSV, ATYP, BND.ADDR (sha), BND.PORT (2 Byte)
conn:lock_read(true)