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:
Matthew Fredrickson
2006-09-19 21:07:49 +00:00
parent fc60c151d3
commit 33ddb53663
7 changed files with 34 additions and 11 deletions

View File

@@ -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 )
{