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:
parent
006515020a
commit
69c4d5d89b
@ -79,7 +79,7 @@ attrs_to_list(Attrs) ->
|
|||||||
[attr_to_list(A) || A <- Attrs].
|
[attr_to_list(A) || A <- Attrs].
|
||||||
|
|
||||||
attr_to_list({Name, Value}) ->
|
attr_to_list({Name, Value}) ->
|
||||||
[$\s, crypt(Name), $=, $', crypt(Value), $'].
|
[$\s, Name, $=, $', crypt(Value), $'].
|
||||||
|
|
||||||
crypt(S) when is_list(S) ->
|
crypt(S) when is_list(S) ->
|
||||||
[case C of
|
[case C of
|
||||||
|
Loading…
Reference in New Issue
Block a user