mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-04 19:35:26 +00:00
Comment on sensitivity (bug #3802)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -694,7 +694,7 @@ static const struct ast_channel_tech sip_tech = {
|
|||||||
int find_sip_method(char *msg)
|
int find_sip_method(char *msg)
|
||||||
{
|
{
|
||||||
int i, res = 0;
|
int i, res = 0;
|
||||||
|
/* Strictly speaking, SIP methods are case SENSITIVE, but we don't check */
|
||||||
for (i=1; i< SIP_MAX_METHODS && !res; i++) {
|
for (i=1; i< SIP_MAX_METHODS && !res; i++) {
|
||||||
if (!strcasecmp(sip_methods[i].text, msg))
|
if (!strcasecmp(sip_methods[i].text, msg))
|
||||||
res = sip_methods[i].id;
|
res = sip_methods[i].id;
|
||||||
|
|||||||
Reference in New Issue
Block a user