Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Name is already a binary
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Jul 21, 2016
1 parent 0678f00 commit 2f0a08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rabbit_reader.erl
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ start_connection(Parent, HelperSup, Deb, Sock) ->
%% socket w/o delay before termination.
rabbit_net:fast_close(Sock),
rabbit_networking:unregister_connection(self()),
rabbit_event:notify(connection_closed, [{name, list_to_binary(Name)},
rabbit_event:notify(connection_closed, [{name, Name},
{pid, self()},
{node, node()}])
end,
Expand Down

0 comments on commit 2f0a08d

Please sign in to comment.