[asterisk-commits] mnicholson: branch mnicholson/asttest r247252 - /team/mnicholson/asttest/astt...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 17 13:11:36 CST 2010


Author: mnicholson
Date: Wed Feb 17 13:11:33 2010
New Revision: 247252

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=247252
Log:
Make some variables local that should have been local.

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=247252&r1=247251&r2=247252
==============================================================================
--- team/mnicholson/asttest/asttest/lua/astlib.lua (original)
+++ team/mnicholson/asttest/asttest/lua/astlib.lua Wed Feb 17 13:11:33 2010
@@ -226,7 +226,7 @@
 	-- remove any existing file or symlink
 	unlink(filename)
 
-	f, e = io.open(filename, "w")
+	local f, e = io.open(filename, "w")
 	if not f then
 		return error("error writing config file: " .. e)
 	end




More information about the asterisk-commits mailing list