1. Unify the check for a penalty < 0 into the set_member_penalty code.
authorMark Michelson <mmichelson@digium.com>
Wed, 19 Dec 2007 23:17:42 +0000 (23:17 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 19 Dec 2007 23:17:42 +0000 (23:17 +0000)
commitc848e480c91275249e1db86fe8f54ee18fa233c6
tree1ce8091564c13d714dadd47ecf69f2e1249d2366
parent16df336a7293fbe4badfe12c9af1f3db3eb3cf41
1. Unify the check for a penalty < 0 into the set_member_penalty code.
2. Fix an error when checking the CLI command for setting a member's penalty.
3. Fix a logging error if the incorrect parameter was the queue name or interface.

(closes issue #11544, reported and patched by Laureano)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c