astobj2: Fix rbtree duplicate handling.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 3 Apr 2013 16:01:51 +0000 (16:01 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 3 Apr 2013 16:01:51 +0000 (16:01 +0000)
commitb9962ee26a47355aed9e4229dfe241b760b95c96
treec248193df7ab8253a13da9518dc9bd0aeec4fcb3
parent0da0797cb03a7f9835a70e98198d7407d71f728a
astobj2: Fix rbtree duplicate handling.

OBJ_PARTIAL_KEY searching a rbtree did not find all possible matches if
the container did not accept duplicates.

Added matching node bias to indicate which matching node is being searched
for: first, last, any.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/astobj2.c