diff --git a/README.md b/README.md index 2c5162a..0e9c195 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,7 @@ These are heuristics that are good starting points ```erlang %% gex_httpd.erl + -spec listen(PortNum) -> Result when PortNum :: inet:port_num(), Result :: ok @@ -157,7 +158,8 @@ These are heuristics that are good starting points gh_client_man:listen(PortNum). - %% gh_client_man:listen(8080) + %% gh_client_man.erl + listen(PortNum) -> gen_server:call(?MODULE, {listen, PortNum}). ```