mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
src/mod_echo.erl: Fix call to exmpp_xml:get_cdata_as_list/1.
SVN Revision: 1919
This commit is contained in:
parent
9b1e5928bd
commit
0f53fea903
@ -3,6 +3,8 @@
|
||||
* src/ejabberd_service.erl: Exmpp related fixed to the external
|
||||
components service.
|
||||
|
||||
* src/mod_echo.erl: Fix call to exmpp_xml:get_cdata_as_list/1.
|
||||
|
||||
2009-02-23 Pablo Polvorin <pablo.polvorin@process-one.net>
|
||||
* src/ejabberd_c2s.erl, src/mod_echo.erl, src/mod_roster.erl,
|
||||
src/mod_roster_odbc.erl: Use exmpp_jid:to_binary/1 when possible.
|
||||
|
@ -194,7 +194,7 @@ do_client_version(enabled, From, To) ->
|
||||
after 5000 -> % Timeout in miliseconds: 5 seconds
|
||||
[]
|
||||
end,
|
||||
Values = [{Name, exmpp_xml:get_cdata_as_list(Children)} || #xmlel{name = Name, children = Children} <- Els],
|
||||
Values = [{Name, exmpp_xml:get_cdata_as_list(El)} || #xmlel{name = Name} = El <- Els],
|
||||
|
||||
%% Print in log
|
||||
Values_string1 = [io_lib:format("~n~s: ~p", [N, V]) || {N, V} <- Values],
|
||||
|
Loading…
Reference in New Issue
Block a user