summaryrefslogtreecommitdiff
path: root/pbx/pbx_ael.c
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2006-09-19 21:07:49 +0000
committerMatthew Fredrickson <creslin@digium.com>2006-09-19 21:07:49 +0000
commit33ddb536631cb9b46dc63923dbf79ead8db89186 (patch)
treecf83670bfa579bddec4a254d9f6fc45e2a8a7829 /pbx/pbx_ael.c
parentfc60c151d3c49897088c148ea01304701b40c2a2 (diff)
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
Diffstat (limited to 'pbx/pbx_ael.c')
-rw-r--r--pbx/pbx_ael.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index cbef91f6a..791a58c3c 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -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 )
{