summaryrefslogtreecommitdiff
path: root/src/rabbit.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-06-24 13:36:42 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-06-24 13:36:42 +0100
commitc66e8d1f66a0bdbba4a5584d62cd98eb6837b642 (patch)
tree91328861aac725ba2ecf1f495b8df239b56db3cd /src/rabbit.erl
parent96a1984b44dbd71cfd0191d1e4dcca7f84d197a7 (diff)
downloadrabbitmq-server-c66e8d1f66a0bdbba4a5584d62cd98eb6837b642.tar.gz
Don't pull protocol version from the JSON.
Diffstat (limited to 'src/rabbit.erl')
-rw-r--r--src/rabbit.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 6cf6d7d5..7df39987 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -424,9 +424,9 @@ print_banner() ->
"| ~s +---+ |~n"
"| |~n"
"+-------------------+~n"
- "AMQP ~p-~p~n~s~n~s~n~n",
+ "~s~n~s~n~s~n~n",
[Product, string:right([$v|Version], ProductLen),
- ?PROTOCOL_VERSION_MAJOR, ?PROTOCOL_VERSION_MINOR,
+ ?PROTOCOL_VERSION,
?COPYRIGHT_MESSAGE, ?INFORMATION_MESSAGE]),
Settings = [{"node", node()},
{"app descriptor", app_location()},