summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-06-24 17:44:02 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-06-24 17:44:02 +0100
commita8cc007914d86b098cd4912f6702e7deb214cb59 (patch)
tree05c99c779acc086b33217589e7732ea3cb56de48
parent104c4b99423fc0af7d8ed2f8b2236f21a8b470b6 (diff)
downloadrabbitmq-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.erl2
-rw-r--r--src/rabbit_reader.erl2
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};