mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-13 15:16:49 +02: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({Name, Value}) ->
|
||||
[$\s, crypt(Name), $=, $', crypt(Value), $'].
|
||||
[$\s, Name, $=, $', crypt(Value), $'].
|
||||
|
||||
crypt(S) when is_list(S) ->
|
||||
[case C of
|
||||
|
Loading…
Reference in New Issue
Block a user