summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2009-10-19 10:30:41 +0000
committerBadlop <badlop@process-one.net>2009-10-19 10:30:41 +0000
commit69c4d5d89bf7108141b683ade7876d57bddafa09 (patch)
tree5108e9dff199664ffa026673753d96ebf83f5ec7 /src
parentSupport gen_tcp send timeout: Close the connection if the other end has disco... (diff)
Fix unnecessary call to xml:crypt/1 (thanks to Janusz Dziemidowicz)(EJAB-1064)
SVN Revision: 2672
Diffstat (limited to 'src')
-rw-r--r--src/xml.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml.erl b/src/xml.erl
index c7f1c0e1..aeb085ea 100644
--- a/src/xml.erl
+++ b/src/xml.erl
@@ -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