25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

Fix warning about unused variables

This commit is contained in:
Badlop 2010-12-13 11:08:53 +01:00
parent b9bbe19d4c
commit 6dd35923b0

View File

@ -937,8 +937,8 @@ prepare_outpacket_response(Sess, _Rid, OutPacket, false) ->
end;
%% Handle a new session along with its output payload
prepare_outpacket_response(#http_bind{id=Sid, wait=Wait,
hold=Hold, to=To}=Sess,
Rid, OutPacket, true) ->
hold=Hold, to=To}=_Sess,
_Rid, OutPacket, true) ->
case OutPacket of
[{xmlstreamstart, _, OutAttrs} | Els] ->
AuthID = xml:get_attr_s("id", OutAttrs),