Changeset

5635:84d3d7b69f9a

mod_bosh: rename variable for clarity
author Matthew Wild <mwild1@gmail.com>
date Fri, 24 May 2013 18:38:36 +0100
parents 5634:7298c9bbb30f
children 5636:d323932ecf18
files plugins/mod_bosh.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Fri May 24 18:37:07 2013 +0100
+++ b/plugins/mod_bosh.lua	Fri May 24 18:38:36 2013 +0100
@@ -364,8 +364,8 @@
 	end
 end
 
-function stream_callbacks.streamclosed(request)
-	local session = sessions[request.sid];
+function stream_callbacks.streamclosed(context)
+	local session = sessions[context.sid];
 	if session then
 		session.bosh_processing = false;
 		if #session.send_buffer > 0 then