mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Fix spec
This commit is contained in:
parent
c7ab3274c5
commit
84d8c156a0
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
-type distance_cache() :: #{{string(), string()} => non_neg_integer()}.
|
-type distance_cache() :: #{{string(), string()} => non_neg_integer()}.
|
||||||
|
|
||||||
-spec uri_parse(binary()|string()) -> {ok, string(), string(), number(), string(), string()} | {error, term()}.
|
-spec uri_parse(binary()|string()) -> {ok, string(), string(), string(), number(), string(), string()} | {error, term()}.
|
||||||
-ifdef(USE_OLD_HTTP_URI).
|
-ifdef(USE_OLD_HTTP_URI).
|
||||||
uri_parse(URL) when is_binary(URL) ->
|
uri_parse(URL) when is_binary(URL) ->
|
||||||
uri_parse(binary_to_list(URL));
|
uri_parse(binary_to_list(URL));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue