25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-31 15:21:38 +01:00

Fix warning about unused variables

This commit is contained in:
Badlop 2010-12-13 11:08:53 +01:00
parent aee3e30232
commit a47caa8c54

View File

@ -1001,8 +1001,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 = exmpp_xml:get_attribute_from_list_as_list(OutAttrs, <<"id">>, ""),