Software /
code /
prosody
Diff
plugins/mod_proxy65.lua @ 2320:2ca7445b882a
mod_proxy65: Strip trailing whitespace
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 04 Dec 2009 14:41:53 +0000 |
parent | 2311:5fe837ebe542 |
child | 2729:7e0c35713bf5 |
line wrap: on
line diff
--- a/plugins/mod_proxy65.lua Fri Dec 04 12:14:14 2009 +0000 +++ b/plugins/mod_proxy65.lua Fri Dec 04 14:41:53 2009 +0000 @@ -84,8 +84,8 @@ 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)