25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Small fix in RSM decoding (thanks to Alexander Tsvyashchenko)(EJAB-1066)

SVN Revision: 2670
This commit is contained in:
Badlop 2009-10-15 22:46:50 +00:00
parent 13b8940606
commit 162fbc2ef8

View File

@ -92,7 +92,7 @@ rsm_decode(#xmlel{}=SubEl)->
case exmpp_xml:get_element(SubEl, 'set') of case exmpp_xml:get_element(SubEl, 'set') of
undefined -> undefined ->
none; none;
#xmlelement{name = 'set', children = SubEls}-> #xmlel{name = 'set', children = SubEls}->
lists:foldl(fun rsm_parse_element/2, #rsm_in{}, SubEls) lists:foldl(fun rsm_parse_element/2, #rsm_in{}, SubEls)
end. end.