Remove an unneccessary unlock and do away with the error msg about not being able...
authorBJ Weschke <bweschke@btwtech.com>
Thu, 12 Jan 2006 19:01:35 +0000 (19:01 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Thu, 12 Jan 2006 19:01:35 +0000 (19:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8020 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 0939e8b..7afb2a8 100644 (file)
@@ -1323,7 +1323,6 @@ static int compare_weight(struct ast_call_queue *rq, struct member *member)
                if (found) 
                        break;
        }
-       ast_mutex_unlock(&qlock);
        return found;
 }