Fix EDoc error

This commit is contained in:
Badlop 2010-08-16 12:02:45 +02:00
parent dffb9cdaf9
commit 555a3113a1
1 changed files with 2 additions and 1 deletions

View File

@ -194,7 +194,8 @@ normalize_hosts([Host|Hosts], PrepHosts) ->
exit("invalid hostname")
end.
%% @spec (Hosts::[string()]) -> ["localhost" | string()]
%% @spec (Hosts::[string()]) -> [Localhost::string() | [string()]]
%% @doc Return the list where the first is surely "localhost".
ensure_localhost_is_first(Hosts) ->
case lists:all(fun is_list/1, Hosts) of
true ->