mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
Another formatting update for PCadach.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -741,9 +741,7 @@ static int _extension_match_core(const char *pattern, const char *data, enum ext
|
||||
{
|
||||
mode &= E_MATCH_MASK; /* only consider the relevant bits */
|
||||
|
||||
if ( (mode == E_MATCH)
|
||||
&& (pattern[0] == '_')
|
||||
&& (strcasecmp(pattern,data)==0) ) /* note: if this test is left out, then _x. will not match _x. !!! */
|
||||
if ( (mode == E_MATCH) && (pattern[0] == '_') && (strcasecmp(pattern,data)==0) ) /* note: if this test is left out, then _x. will not match _x. !!! */
|
||||
return 1;
|
||||
|
||||
if (pattern[0] != '_') { /* not a pattern, try exact or partial match */
|
||||
|
||||
Reference in New Issue
Block a user