mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Fix spec
This commit is contained in:
parent
c7ab3274c5
commit
84d8c156a0
@ -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…
Reference in New Issue
Block a user