fixes astobj2 unlinking of multiple objects when OBJ_MULTIPLE was disabled
authorDavid Vossel <dvossel@digium.com>
Fri, 5 Feb 2010 21:21:05 +0000 (21:21 +0000)
committerDavid Vossel <dvossel@digium.com>
Fri, 5 Feb 2010 21:21:05 +0000 (21:21 +0000)
commitbc16d44b73dec23189daf189671361e8e1b45259
treef1274a1025eae458209e8780b51833be32a0a5e2
parent4a03da160e783fbbee4cba2bb1e8f41da77752ab
fixes astobj2 unlinking of multiple objects when OBJ_MULTIPLE was disabled

When OBJ_MULTIPLE was off but OBJ_UNLINK was on, all the items in a bucket
were being unlinked instead of just the first match.  This fixes that.

Review: https://reviewboard.asterisk.org/r/490/

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