Changeset

6363:ec446efc15e1

util.xmppstream: When error is 'no-stream', pass the received tagname to the error handler
author Matthew Wild <mwild1@gmail.com>
date Sat, 23 Aug 2014 09:22:05 +0100
parents 6362:f5f44504e18b
children 6364:4e93e8768c36
files util/xmppstream.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/xmppstream.lua	Wed Aug 27 13:20:08 2014 +0200
+++ b/util/xmppstream.lua	Sat Aug 23 09:22:05 2014 +0100
@@ -109,7 +109,7 @@
 					end
 				else
 					-- Garbage before stream?
-					cb_error(session, "no-stream");
+					cb_error(session, "no-stream", tagname);
 				end
 				return;
 			end