Skip to content
This repository
Browse code

Improve startup message: make clear that gen_smtp is listening

  • Loading branch information...
commit edb40f77c717e121cee12fea1a3dda9a4ef9ee7c 1 parent f5eed6a
Arjan Scherpenisse authored November 15, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/gen_smtp_server.erl
2  src/gen_smtp_server.erl
@@ -137,7 +137,7 @@ init([Module, Configurations]) ->
137 137
 					Protocol = proplists:get_value(protocol, NewConfig),
138 138
 					SessionOptions = proplists:get_value(sessionoptions, NewConfig, []),
139 139
 					error_logger:info_msg("~p starting at ~p~n", [?MODULE, node()]),
140  
-					error_logger:info_msg("listening on ~p:~p via ~p~n", [IP, Port, Protocol]),
  140
+					error_logger:info_msg("~p listening on ~p:~p via ~p~n", [?MODULE, IP, Port, Protocol]),
141 141
 					process_flag(trap_exit, true),
142 142
 					ListenOptions = [binary, {ip, IP}, Family],
143 143
 					case socket:listen(Protocol, Port, ListenOptions) of

0 notes on commit edb40f7

Please sign in to comment.
Something went wrong with that request. Please try again.