[svn-commits] tilghman: trunk r264752 - /trunk/apps/app_stack.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu May 20 16:28:55 CDT 2010


Author: tilghman
Date: Thu May 20 16:28:53 2010
New Revision: 264752

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=264752
Log:
Error message fix.

(closes issue #17356)
 Reported by: kenner
 Patches: 
       app_stack.c.diff uploaded by kenner (license 1040)

Modified:
    trunk/apps/app_stack.c

Modified: trunk/apps/app_stack.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_stack.c?view=diff&rev=264752&r1=264751&r2=264752
==============================================================================
--- trunk/apps/app_stack.c (original)
+++ trunk/apps/app_stack.c Thu May 20 16:28:53 2010
@@ -415,7 +415,7 @@
 
 	if (!ast_exists_extension(chan, chan->context, chan->exten, ast_test_flag(chan, AST_FLAG_IN_AUTOLOOP) ? chan->priority + 1 : chan->priority, chan->cid.cid_num)) {
 		ast_log(LOG_ERROR, "Attempt to reach a non-existent destination for gosub: (Context:%s, Extension:%s, Priority:%d)\n",
-				chan->context, chan->exten, chan->priority);
+				chan->context, chan->exten, ast_test_flag(chan, AST_FLAG_IN_AUTOLOOP) ? chan->priority + 1 : chan->priority);
 		ast_copy_string(chan->context, newframe->context, sizeof(chan->context));
 		ast_copy_string(chan->exten, newframe->extension, sizeof(chan->exten));
 		chan->priority = newframe->priority;




More information about the svn-commits mailing list