summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-08-16 21:44:24 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-08-16 21:44:24 +0100
commit2a90f311a41950d9c2c528ec857a2705d29caa96 (patch)
tree6321b885279df990aed4a138055ec28d5873db25
parent90e7205605b062f0473bd7e4cdc9273f5b851815 (diff)
downloadrabbitmq-server-2a90f311a41950d9c2c528ec857a2705d29caa96.tar.gz
cosmetic
-rw-r--r--src/file_handle_cache.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl
index 4df6eb37..2014b19f 100644
--- a/src/file_handle_cache.erl
+++ b/src/file_handle_cache.erl
@@ -863,7 +863,7 @@ process_obtain(State = #fhc_state { limit = Limit,
process_pending([], _Quota) ->
{[], 0};
-process_pending(Pending, Quota) when 0 >= Quota ->
+process_pending(Pending, Quota) when Quota =< 0 ->
{Pending, 0};
process_pending(Pending, Quota) ->
PendingLen = length(Pending),