25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Fix xmlcdata binary content

This commit is contained in:
Badlop 2010-06-18 16:33:26 +02:00
parent 3b7449fb92
commit dd69d47543

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,