diff options
Diffstat (limited to 'tools/xml_compress_gen.erl')
-rw-r--r-- | tools/xml_compress_gen.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/xml_compress_gen.erl b/tools/xml_compress_gen.erl index 4dad71a43..f19bcfdbd 100644 --- a/tools/xml_compress_gen.erl +++ b/tools/xml_compress_gen.erl @@ -4,7 +4,7 @@ %% Created : 14 Sep 2018 Pawel Chmielowski %% %% -%% ejabberd, Copyright (C) 2002-2018 ProcessOne +%% ejabberd, Copyright (C) 2002-2019 ProcessOne %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License as @@ -117,8 +117,8 @@ gen_decode(Dev, Data, VerId) -> " {Children, Rest4} = decode_children(Rest3, PNs, J1, J2),~n" " {{xmlel, Name, Attrs, Children}, Rest4};~n", []), io:format(Dev, "decode_child(<<3:8, Rest/binary>>, PNs, J1, J2) ->~n" - " {Name, Rest2} = decode_string(Rest),~n" - " {Ns, Rest3} = decode_string(Rest2),~n" + " {Ns, Rest2} = decode_string(Rest),~n" + " {Name, Rest3} = decode_string(Rest2),~n" " {Attrs, Rest4} = decode_attrs(Rest3),~n" " {Children, Rest5} = decode_children(Rest4, Ns, J1, J2),~n" " {{xmlel, Name, add_ns(PNs, Ns, Attrs), Children}, Rest5};~n", []), |