Skip to content

Commit

Permalink
Fix 'EXIT' tuple, no pid here.
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed Nov 1, 2013
1 parent f396a24 commit d4b7191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gen_smtp_client.erl
Expand Up @@ -477,7 +477,7 @@ do_STARTTLS(Socket, Options) ->
%NewSocket;
{ok, Extensions} = try_EHLO(NewSocket, Options),
{NewSocket, Extensions};
{'EXIT', _Pid, Reason} ->
{'EXIT', Reason} ->
quit(Socket),
error_logger:error_msg("Error in ssl upgrade: ~p.~n", [Reason]),
erlang:throw({temporary_failure, tls_failed});
Expand Down

0 comments on commit d4b7191

Please sign in to comment.