aboutsummaryrefslogtreecommitdiff
path: root/src/mod_sip.erl
diff options
context:
space:
mode:
authorPaweł Chmielowski <pawel@process-one.net>2022-05-05 13:07:03 +0200
committerPaweł Chmielowski <pawel@process-one.net>2022-05-05 13:07:03 +0200
commit54a1fcc5e8bca191392b492882ce98cb73388b81 (patch)
treec9e1f8533926480c354d2d788b2a97f2ba84ad1b /src/mod_sip.erl
parentREADME: Improve badges, header, commercial links (diff)
Improve misc:uri_parse
Diffstat (limited to 'src/mod_sip.erl')
-rw-r--r--src/mod_sip.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_sip.erl b/src/mod_sip.erl
index 5c1e09467..6a710a6e8 100644
--- a/src/mod_sip.erl
+++ b/src/mod_sip.erl
@@ -357,7 +357,7 @@ mod_opt_type(via) ->
(econf:and_then(
econf:url([tls, tcp, udp]),
fun(URI) ->
- {ok, Type, Host, Port, _} =
+ {ok, Type, Host, Port, _, _} =
misc:uri_parse(URI),
{Type, {unicode:characters_to_binary(Host), Port}}
end))(U)