summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-01-05 17:23:06 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-01-05 17:23:06 +0000
commit9e757b9c7de2fc97db27da0502b03207d0aee2db (patch)
tree0d7be53ec3a2ddb33645d52e547d902f52d8f225
parent388ed456bd74fc0873e5edb8df6ed366ca293155 (diff)
downloadrabbitmq-server-9e757b9c7de2fc97db27da0502b03207d0aee2db.tar.gz
Oops.
-rw-r--r--src/rabbit_misc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index bdc9965d..b30cfc2e 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -823,7 +823,7 @@ lock_file(Path) ->
%% Format IPv4-mapped IPv6 addresses as IPv4, since they're what we see
%% when IPv6 is enabled but not used (i.e. 99% of the time).
-ntoa({0,0,0,0,0,16#ffff,AB,CD} = Foo) ->
+ntoa({0,0,0,0,0,16#ffff,AB,CD}) ->
inet_parse:ntoa({AB bsr 8, AB rem 256, CD bsr 8, CD rem 256});
ntoa(IP) ->
inet_parse:ntoa(IP).