Skip to content

Commit

Permalink
Merge pull request gen-smtp#31 from zotonic/master
Browse files Browse the repository at this point in the history
Make clear that gen_smtp is listening
  • Loading branch information
Vagabond committed Nov 23, 2012
2 parents f5eed6a + edb40f7 commit 156b52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gen_smtp_server.erl
Expand Up @@ -137,7 +137,7 @@ init([Module, Configurations]) ->
Protocol = proplists:get_value(protocol, NewConfig),
SessionOptions = proplists:get_value(sessionoptions, NewConfig, []),
error_logger:info_msg("~p starting at ~p~n", [?MODULE, node()]),
error_logger:info_msg("listening on ~p:~p via ~p~n", [IP, Port, Protocol]),
error_logger:info_msg("~p listening on ~p:~p via ~p~n", [?MODULE, IP, Port, Protocol]),
process_flag(trap_exit, true),
ListenOptions = [binary, {ip, IP}, Family],
case socket:listen(Protocol, Port, ListenOptions) of
Expand Down

0 comments on commit 156b52c

Please sign in to comment.