diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-08-21 20:37:28 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-08-21 20:37:28 +0000 |
commit | 49d115e263de1cdb2326e691a566d0d230110d21 (patch) | |
tree | e3f1876d8f8e632a7e612ef64b56235b3d19e7a4 /src/couchdb/couch_work_queue.erl | |
parent | 1c9aacd6729b5b5fbfcc2f8d3473faa2ec9a7dd9 (diff) |
Fix revision 987824 - add missing changes.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987828 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_work_queue.erl')
-rw-r--r-- | src/couchdb/couch_work_queue.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_work_queue.erl b/src/couchdb/couch_work_queue.erl index 07fab2cc..13ec7335 100644 --- a/src/couchdb/couch_work_queue.erl +++ b/src/couchdb/couch_work_queue.erl @@ -132,7 +132,7 @@ dequeue_items(0, Queue, Blocked, DequeuedAcc) -> dequeue_items(NumItems, Queue, Blocked, DequeuedAcc) -> {{value, Item}, Queue2} = queue:out(Queue), - Blocked2 = case Blocked of + case Blocked of [] -> Blocked2 = Blocked; [From | Blocked2] -> |