25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Fix exception handling in is_voice_request/1

This commit is contained in:
Maxim Ignatenko 2011-07-24 14:57:13 +03:00
parent 30d89abf66
commit 44987479a5

View File

@ -3647,7 +3647,7 @@ is_voice_request(Els) ->
end
end
catch
_ ->
error: _ ->
false
end.
@ -3671,7 +3671,7 @@ check_voice_request_fields({xmlelement, "field", _, Els} = Elem, Acc) ->
end
end
catch
_ ->
error: _ ->
false
end.