Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improve startup message: make clear that gen_smtp is listening

  • Loading branch information...
commit edb40f77c717e121cee12fea1a3dda9a4ef9ee7c 1 parent f5eed6a
@arjan arjan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/gen_smtp_server.erl
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.