24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-24 22:25:47 +02:00

Minor fix in http_bind detected by Dialyzer

This commit is contained in:
Badlop 2010-10-07 00:16:24 +02:00
parent f4f2f46f50
commit 404b9a4a11

View File

@ -59,7 +59,7 @@
rid = none, rid = none,
key, key,
socket, socket,
output = "", output = [],
input = queue:new(), input = queue:new(),
waiting_input = false, waiting_input = false,
shaper_state, shaper_state,
@ -1157,7 +1157,7 @@ send_outpacket(#http_bind{pid = FsmRef}, OutPacket) ->
case SEls of case SEls of
[{xmlstreamelement, [{xmlstreamelement,
#xmlel{name = 'features', #xmlel{name = 'features',
declared_ns = [{undefined, 'stream'}], declared_ns = [{undefined, "stream"}],
attrs = StreamAttribs, attrs = StreamAttribs,
children = StreamEls}} | children = StreamEls}} |
% {xmlelement, % {xmlelement,