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
commite549da034f96538d91a3afdc740d1bb444496971 (patch)
tree05c99c779acc086b33217589e7732ea3cb56de48
parent4e4a1a6189c05fd1eaeb195e131b6611f5897f25 (diff)
downloadrabbitmq-server-e549da034f96538d91a3afdc740d1bb444496971.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 d337df29..cd4bfc12 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 c324d008..7c90d980 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};