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

Fix unnecessary call to xml:crypt/1 (thanks to Janusz Dziemidowicz)(EJAB-1064)

SVN Revision: 2672
This commit is contained in:
Badlop 2009-10-19 10:30:41 +00:00
parent 006515020a
commit 69c4d5d89b

View File

@ -79,7 +79,7 @@ attrs_to_list(Attrs) ->
[attr_to_list(A) || A <- Attrs].
attr_to_list({Name, Value}) ->
[$\s, crypt(Name), $=, $', crypt(Value), $'].
[$\s, Name, $=, $', crypt(Value), $'].
crypt(S) when is_list(S) ->
[case C of