mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix some eDoc @spec directives.
PR: EJABP-1 SVN Revision: 1844
This commit is contained in:
parent
842ebfcca0
commit
0cf0992f78
@ -1,3 +1,8 @@
|
||||
2009-01-22 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||
|
||||
* src/web/ejabberd_web_admin.erl, src/ejabberd_listener.erl: Fix some
|
||||
eDoc @spec directives.
|
||||
|
||||
2009-01-21 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||
|
||||
* src/acl.erl (match_acl/3): Use string() version of
|
||||
|
@ -287,12 +287,13 @@ add_listener(PortIP, Module, Opts) ->
|
||||
{error, Error}
|
||||
end.
|
||||
|
||||
%% @spec (PortIP) -> ok
|
||||
%% @spec (PortIP, Module) -> ok
|
||||
%% where
|
||||
%% PortIP = {Port, IPT | IPS}
|
||||
%% Port = integer()
|
||||
%% IPT = tuple()
|
||||
%% IPS = string()
|
||||
%% Module = atom()
|
||||
delete_listener(PortIP, Module) ->
|
||||
Ports = case ejabberd_config:get_local_option(listen) of
|
||||
undefined ->
|
||||
|
@ -1069,7 +1069,7 @@ term_to_string(T) ->
|
||||
{ok, StringLine, _} = regexp:gsub(StringParagraph, "\\n ", ""),
|
||||
StringLine.
|
||||
|
||||
%% @spec (T::any()) -> {NumLines::integer(), Paragraph::string()}
|
||||
%% @spec (T::any(), Cols::integer()) -> {NumLines::integer(), Paragraph::string()}
|
||||
term_to_paragraph(T, Cols) ->
|
||||
Paragraph = erl_prettypr:format(erl_syntax:abstract(T), [{paper, Cols}]),
|
||||
{ok, FieldList} = regexp:split(Paragraph, "\n"),
|
||||
|
Loading…
Reference in New Issue
Block a user