Fix xmlcdata binary content

This commit is contained in:
Badlop 2010-06-18 16:33:26 +02:00
parent 3b7449fb92
commit dd69d47543
1 changed files with 1 additions and 1 deletions

View File

@ -1233,7 +1233,7 @@ iq_disco_info_extras2(SenderT, SLimits) ->
%% Report only custom limits
case get_limit_number(Type_of_stanza, Limits) of
{custom, Number} ->
[?RFIELDV(to_string(Type_of_stanza), to_string(Number)) | R];
[?RFIELDV(to_string(Type_of_stanza), list_to_binary(to_string(Number))) | R];
{default, _} -> R
end
end,