diff options
author | Russell Bryant <russell@russellbryant.com> | 2008-11-15 04:25:57 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2008-11-15 04:25:57 +0000 |
commit | 1148e648b863a5237d0c7b9cd9b6d332559c35c9 (patch) | |
tree | 65eb98c9ee1c98c37fd15b6e592c90a08af02fcd /channels | |
parent | ab2b24d6eea9cd92efbf0f536044624554e9e021 (diff) |
Fix a few more places where the case insensitive hash should be used since
the comparison is case insensitive.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 70a220bf4..f1601cdff 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1948,7 +1948,7 @@ static int peer_hash_cb(const void *obj, const int flags) { const struct sip_peer *peer = obj; - return ast_str_hash(peer->name); + return ast_str_case_hash(peer->name); } /*! @@ -2004,7 +2004,7 @@ static int dialog_hash_cb(const void *obj, const int flags) { const struct sip_pvt *pvt = obj; - return ast_str_hash(pvt->callid); + return ast_str_case_hash(pvt->callid); } /*! |