diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 17:44:02 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 17:44:02 +0100 |
| commit | a8cc007914d86b098cd4912f6702e7deb214cb59 (patch) | |
| tree | 05c99c779acc086b33217589e7732ea3cb56de48 | |
| parent | 104c4b99423fc0af7d8ed2f8b2236f21a8b470b6 (diff) | |
| download | rabbitmq-server-git-a8cc007914d86b098cd4912f6702e7deb214cb59.tar.gz | |
Don't specify a value for cluster_id and known_hosts, they already have a default of "".
| -rw-r--r-- | src/rabbit_channel.erl | 2 | ||||
| -rw-r--r-- | src/rabbit_reader.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index d337df294f..cd4bfc12b9 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -499,7 +499,7 @@ handle_method(#'basic.get'{queue = QueueNameBin, Content), {noreply, State1#ch{next_tag = DeliveryTag + 1}}; empty -> - {reply, #'basic.get_empty'{cluster_id = <<>>}, State} + {reply, #'basic.get_empty'{}, State} end; handle_method(#'basic.consume'{queue = QueueNameBin, diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl index c324d008a4..7c90d98024 100644 --- a/src/rabbit_reader.erl +++ b/src/rabbit_reader.erl @@ -645,7 +645,7 @@ handle_method0(#'connection.open'{virtual_host = VHostPath}, NewConnection = Connection#connection{vhost = VHostPath}, ok = send_on_channel0( Sock, - #'connection.open_ok'{known_hosts = <<>>}, + #'connection.open_ok'{}, Protocol), State#v1{connection_state = running, connection = NewConnection}; |
