Software /
code /
prosody
Changeset
2320:2ca7445b882a
mod_proxy65: Strip trailing whitespace
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 04 Dec 2009 14:41:53 +0000 (2009-12-04) |
parents | 2319:8dca45e17438 |
children | 2321:7e7484a4e821 |
files | plugins/mod_proxy65.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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)