[svn-commits] mnicholson: branch mnicholson/asttest r247254 - /team/mnicholson/asttest/astt...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 17 13:16:16 CST 2010


Author: mnicholson
Date: Wed Feb 17 13:16:12 2010
New Revision: 247254

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=247254
Log:
Added more missing locals

Modified:
    team/mnicholson/asttest/asttest/lua/astlib.lua

Modified: team/mnicholson/asttest/asttest/lua/astlib.lua
URL: http://svnview.digium.com/svn/asterisk/team/mnicholson/asttest/asttest/lua/astlib.lua?view=diff&rev=247254&r1=247253&r2=247254
==============================================================================
--- team/mnicholson/asttest/asttest/lua/astlib.lua (original)
+++ team/mnicholson/asttest/asttest/lua/astlib.lua Wed Feb 17 13:16:12 2010
@@ -37,7 +37,7 @@
 end
 
 function asterisk:_spawn()
-	p = proc.exec(self.asterisk_binary,
+	local p = proc.exec(self.asterisk_binary,
 		"-f", "-g", "-q", "-m",
 		"-C", self.asterisk_conf
 	)
@@ -122,7 +122,7 @@
 end
 
 function asterisk:new_config(name)
-	c = config:new(name, self.work_area .. "/etc/asterisk/" .. name)
+	local c = config:new(name, self.work_area .. "/etc/asterisk/" .. name)
 	self[name] = c
 	return c
 end




More information about the svn-commits mailing list