mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-29 14:37:44 +02:00
Fix warning from last commit
This commit is contained in:
parent
418baf4fa6
commit
4b7c74415f
@ -374,7 +374,8 @@ format_args(Args, ArgsFormat) ->
|
||||
format_arg({array, Elements},
|
||||
{list, {ElementDefName, ElementDefFormat}})
|
||||
when is_list(Elements) ->
|
||||
lists:map(fun ({struct, [{ElementDefName, ElementValue}]}) ->
|
||||
lists:map(fun ({struct, [{ElementName, ElementValue}]}) when
|
||||
ElementDefName == ElementName ->
|
||||
format_arg(ElementValue, ElementDefFormat)
|
||||
end,
|
||||
Elements);
|
||||
|
Loading…
Reference in New Issue
Block a user