diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2012-09-25 17:00:03 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-09-25 17:00:03 +0100 |
commit | 813d9ab83e883034e4270c1b54606895866166bd (patch) | |
tree | 6031b2bdb8f186cae4ff3bf7d8ecd5bb50f6b8c9 /src/rabbit_mirror_queue_slave.erl | |
parent | f15ccf9f4289b61a48020241764894188d7a4c8a (diff) | |
download | rabbitmq-server-813d9ab83e883034e4270c1b54606895866166bd.tar.gz |
oops
Diffstat (limited to 'src/rabbit_mirror_queue_slave.erl')
-rw-r--r-- | src/rabbit_mirror_queue_slave.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_mirror_queue_slave.erl b/src/rabbit_mirror_queue_slave.erl index 472eff47..f30264e1 100644 --- a/src/rabbit_mirror_queue_slave.erl +++ b/src/rabbit_mirror_queue_slave.erl @@ -857,8 +857,8 @@ process_instruction({depth, Depth}, backing_queue = BQ, backing_queue_state = BQS }) -> D1 = case D of - undefinded -> 1; %% anything but 0 will do here - _ -> D + undefined -> 1; %% anything but 0 will do here + _ -> D end, {ok, set_synchronised(Depth - BQ:depth(BQS) - D1, State #state { depth_delta = D1 })}; |