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

Fix recent commit "Reduce size..."

This commit is contained in:
Badlop 2012-09-12 19:48:18 +02:00
parent e3085a4d48
commit 35c4e740ab

View File

@ -89,8 +89,8 @@ process_data(CallbackPid, Stack, Data) ->
catch gen_fsm:send_event(CallbackPid,
{xmlstreamend, EndName}),
[];
[#xmlel{name = Name, attrs = Attrs, children = Els}
| xmlstreamstart] ->
[#xmlel{name = Name, attrs = Attrs, children = Els},
xmlstreamstart] ->
NewEl = #xmlel{name = Name, attrs = Attrs,
children = lists:reverse(Els)},
catch gen_fsm:send_event(CallbackPid,