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

Commit

Permalink
Merged bug25300
Browse files Browse the repository at this point in the history
  • Loading branch information
Emile Joubert committed Nov 20, 2012
2 parents f6b593b + 3097b9a commit ad1715d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/amqp_client.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
adapter_info = none,
client_properties = []}).

-record(amqp_adapter_info, {address = unknown,
-record(amqp_adapter_info, {host = unknown,
port = unknown,
peer_address = unknown,
peer_host = unknown,
peer_port = unknown,
name = unknown,
protocol = unknown,
Expand Down
8 changes: 4 additions & 4 deletions src/amqp_direct_connection.erl
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@

-define(INFO_KEYS, [type]).

-define(CREATION_EVENT_KEYS, [pid, protocol, address, port, name,
peer_address, peer_port,
-define(CREATION_EVENT_KEYS, [pid, protocol, host, port, name,
peer_host, peer_port,
user, vhost, client_properties, type]).

%%---------------------------------------------------------------------------
Expand Down Expand Up @@ -96,9 +96,9 @@ i(client_properties, #state{params = P}) ->
P#amqp_params_direct.client_properties;
%% Optional adapter info
i(protocol, #state{adapter_info = I}) -> I#amqp_adapter_info.protocol;
i(address, #state{adapter_info = I}) -> I#amqp_adapter_info.address;
i(host, #state{adapter_info = I}) -> I#amqp_adapter_info.host;
i(port, #state{adapter_info = I}) -> I#amqp_adapter_info.port;
i(peer_address, #state{adapter_info = I}) -> I#amqp_adapter_info.peer_address;
i(peer_host, #state{adapter_info = I}) -> I#amqp_adapter_info.peer_host;
i(peer_port, #state{adapter_info = I}) -> I#amqp_adapter_info.peer_port;
i(name, #state{adapter_info = I}) -> I#amqp_adapter_info.name;

Expand Down

0 comments on commit ad1715d

Please sign in to comment.