Files
asterisk/main
Terry Wilson 9748f19e96 Always treat arguments to get_by_name_cb as strings
Initially, support was left in for the old style of searching, even
though it wasn't actually used. In the case of name_len != 0, the
OBJ_KEY flag isn't passed because we aren't matching on a full key
and therefor can't use the hash function to optimize. The code left
in to support the old way of searching unfortunately treated a prefix
search like this as though an ast_channel struct was passed as an arg
and caused a crash.

This patch also adds needed parentheses around some matching conditions.

(closes issue ASTERISK-19182)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@350365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-01-11 19:19:35 +00:00
..
2011-12-12 19:35:08 +00:00
2012-01-09 19:37:23 +00:00
2011-10-31 17:51:22 +00:00
2011-12-12 19:35:08 +00:00
2011-12-12 19:35:08 +00:00
2011-10-11 19:06:29 +00:00
2010-05-18 22:48:51 +00:00
2011-02-23 23:55:58 +00:00
2010-04-22 18:07:02 +00:00