astobj2: Made use OBJ_SEARCH_xxx identifiers as field enum values internally.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 24 Sep 2013 22:55:06 +0000 (22:55 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 24 Sep 2013 22:55:06 +0000 (22:55 +0000)
commit88436ecbd448569b1517d3340c2f8486010ff0ae
tree8e42ae9ccb11efe36529d29eb03163aab087c6e5
parentb916eaad4c9e662e476b63c5bd5ff7367ad47b8e
astobj2: Made use OBJ_SEARCH_xxx identifiers as field enum values internally.

* Made ao2_unlink to protect itself from stray OBJ_SEARCH_xxx values
passed in.
........

Merged revisions 399749 from http://svn.asterisk.org/svn/asterisk/branches/12

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