mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
Various updates from PCadach's chan_h323-live branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1056,6 +1056,7 @@ static void check_label(pval *item)
|
||||
The method: well, for each label, find the first label in the context
|
||||
with the same name. If it's not the current label, then throw an error. */
|
||||
struct pval *curr;
|
||||
struct pval *x;
|
||||
|
||||
/* printf("==== check_label: ====\n"); */
|
||||
if( !current_extension )
|
||||
@@ -1063,7 +1064,7 @@ static void check_label(pval *item)
|
||||
else
|
||||
curr = current_extension;
|
||||
|
||||
struct pval *x = find_first_label_in_current_context((char *)item->u1.str, curr);
|
||||
x = find_first_label_in_current_context((char *)item->u1.str, curr);
|
||||
/* printf("Hey, check_label found with item = %x, and x is %x, and currcont is %x, label name is %s\n", item,x, current_context, (char *)item->u1.str); */
|
||||
if( x && x != item )
|
||||
{
|
||||
|
Reference in New Issue
Block a user