Permalink
Browse files

Merge pull request #31 from zotonic/master

Make clear that gen_smtp is listening
  • Loading branch information...
2 parents f5eed6a + edb40f7 commit 156b52c16466a0e1dd98395f7c6480b5ff916332 @Vagabond committed Nov 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gen_smtp_server.erl
@@ -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

0 comments on commit 156b52c

Please sign in to comment.