From 404b9a4a115ef89ab8882b71914388a15501a5b8 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 7 Oct 2010 00:16:24 +0200 Subject: [PATCH] Minor fix in http_bind detected by Dialyzer --- src/web/ejabberd_http_bind.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index a9bdbdd39..52e38d76d 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -59,7 +59,7 @@ rid = none, key, socket, - output = "", + output = [], input = queue:new(), waiting_input = false, shaper_state, @@ -1157,7 +1157,7 @@ send_outpacket(#http_bind{pid = FsmRef}, OutPacket) -> case SEls of [{xmlstreamelement, #xmlel{name = 'features', - declared_ns = [{undefined, 'stream'}], + declared_ns = [{undefined, "stream"}], attrs = StreamAttribs, children = StreamEls}} | % {xmlelement,