[asterisk-commits] mnicholson: testsuite/asterisk/trunk r696 - /asterisk/trunk/asttest/lib/lua/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 4 10:56:26 CDT 2010


Author: mnicholson
Date: Wed Aug  4 10:56:23 2010
New Revision: 696

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=696
Log:
removed unused buf member

Modified:
    asterisk/trunk/asttest/lib/lua/astlib.lua

Modified: asterisk/trunk/asttest/lib/lua/astlib.lua
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asttest/lib/lua/astlib.lua?view=diff&rev=696&r1=695&r2=696
==============================================================================
--- asterisk/trunk/asttest/lib/lua/astlib.lua (original)
+++ asterisk/trunk/asttest/lib/lua/astlib.lua Wed Aug  4 10:56:23 2010
@@ -570,7 +570,6 @@
 		responses = {},
 		event_handlers = {},
 		response_handlers = {},
-		buf = {""},
 	}
 
 	setmetatable(m, self)
@@ -638,7 +637,7 @@
 end
 
 function manager:_parse_greeting()
-	local line, err = read_until_crlf(self.sock, self.buf)
+	local line, err = read_until_crlf(self.sock)
 	if not line then
 		return nil, err
 	end
@@ -652,7 +651,7 @@
 end
 
 function manager:_read_message()
-	local line, err = read_until_crlf(self.sock, self.buf)
+	local line, err = read_until_crlf(self.sock)
 	if not line then
 		return nil, err
 	end
@@ -676,7 +675,7 @@
 	local data_mode = false
 	
 	while true do
-		line, err = read_until_crlf(self.sock, self.buf)
+		line, err = read_until_crlf(self.sock)
 		if not line then
 			return nil, err
 		end




More information about the asterisk-commits mailing list