[svn-commits] mnicholson: branch 1.8 r309585 - in /branches/1.8: ./ pbx/pbx_lua.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Mar 4 13:38:28 CST 2011


Author: mnicholson
Date: Fri Mar  4 13:38:25 2011
New Revision: 309585

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=309585
Log:
Merged revisions 309584 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r309584 | mnicholson | 2011-03-04 13:37:13 -0600 (Fri, 04 Mar 2011) | 2 lines
  
  Restore mysterious lua_pushvalue() call removed in r309494.  The mystery has been solved.
........

Modified:
    branches/1.8/   (props changed)
    branches/1.8/pbx/pbx_lua.c

Propchange: branches/1.8/
------------------------------------------------------------------------------
Binary property 'branch-1.6.2-merged' - no diff available.

Modified: branches/1.8/pbx/pbx_lua.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/pbx/pbx_lua.c?view=diff&rev=309585&r1=309584&r2=309585
==============================================================================
--- branches/1.8/pbx/pbx_lua.c (original)
+++ branches/1.8/pbx/pbx_lua.c Fri Mar  4 13:38:25 2011
@@ -792,6 +792,10 @@
 		int context = lua_gettop(L);
 		int context_name = context - 1;
 		int context_order;
+
+		/* copy the context_name to be used as the key for the
+		 * context_order table in the extensions_order table later */
+		lua_pushvalue(L, context_name);
 
 		/* create the context_order table */
 		lua_newtable(L);




More information about the svn-commits mailing list