From d46f7a09a768b146f2f3cdc9a6a50357832bd1c7 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Wed, 16 Jun 2004 01:02:07 +0000 Subject: Fixed smtp.lua loading. Adjusted tftp module. Added some comments. --- samples/cddb.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samples') diff --git a/samples/cddb.lua b/samples/cddb.lua index 0ceba09..aefa04e 100644 --- a/samples/cddb.lua +++ b/samples/cddb.lua @@ -32,7 +32,7 @@ end local host = socket.dns.gethostname() local query = "%s?cmd=cddb+read+%s+%s&hello=LuaSocket+%s+LuaSocket+2.0&proto=6" local url = string.format(query, server, arg[1], arg[2], host) -local body, headers, code, error = http.get(url) +local body, headers, code = http.get(url) if code == 200 then local data, code, error = parse(body) -- cgit v1.2.3-55-g6feb