summaryrefslogtreecommitdiff
path: root/src
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
commit4736f0d828163a1053beddab90bc73ca68832e60 (patch)
tree6321b885279df990aed4a138055ec28d5873db25 /src
parent6585b7edfbffa3c18cdd88b91d39a49275be7d9e (diff)
downloadrabbitmq-server-git-4736f0d828163a1053beddab90bc73ca68832e60.tar.gz
cosmetic
Diffstat (limited to 'src')
-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 4df6eb3715..2014b19f56 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),