diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-05 17:13:13 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-05 17:13:13 +0100 |
commit | dad95a37b5d11f38079e9d05e8002fd513a29af4 (patch) | |
tree | aac647ed5bb2dda2c7ec0ca9a5354a2b73729302 /src/rabbit_reader.erl | |
parent | 145a1db8d13bdae5d1b6ab5747f7d8862593ffb9 (diff) | |
download | rabbitmq-server-dad95a37b5d11f38079e9d05e8002fd513a29af4.tar.gz |
Minor improvementbug23027
Diffstat (limited to 'src/rabbit_reader.erl')
-rw-r--r-- | src/rabbit_reader.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl index 57c23990..f947cd90 100644 --- a/src/rabbit_reader.erl +++ b/src/rabbit_reader.erl @@ -553,7 +553,7 @@ handle_frame(Type, Channel, Payload, erase({channel, Channel}), State; {method, MethodName, _} -> - case (State#v1.connection_state == blocking andalso + case (State#v1.connection_state =:= blocking andalso Protocol:method_has_content(MethodName)) of true -> State#v1{connection_state = blocked}; false -> State |