More adjustments/bugfixes.

This commit is contained in:
Diego Nehab 2004-06-21 06:07:58 +00:00
parent f7579db9e8
commit bce1cb30d8
33 changed files with 135 additions and 96 deletions

View file

@ -1,5 +1,5 @@
socket = require("socket")
http = require("http")
local socket = require("socket")
local http = require("http")
if not arg or not arg[1] or not arg[2] then
print("luasocket cddb.lua <category> <disc-id> [<server>]")

View file

@ -4,7 +4,7 @@
-- Author: Diego Nehab
-- RCS ID: $Id$
-----------------------------------------------------------------------------
require"socket"
local socket = require"socket"
host = host or "127.0.0.1"
port = port or 13
if arg then

View file

@ -4,7 +4,7 @@
-- Author: Diego Nehab
-- RCS ID: $Id$
-----------------------------------------------------------------------------
socket = require("socket")
local socket = require("socket")
host = host or "127.0.0.1"
port = port or 7
if arg then

View file

@ -4,7 +4,7 @@
-- Author: Diego Nehab
-- RCS ID: $Id$
-----------------------------------------------------------------------------
socket = require("socket")
local socket = require("socket")
host = host or "localhost"
port = port or 8080
if arg then

View file

@ -4,7 +4,7 @@
-- Author: Diego Nehab
-- RCS ID: $Id$
-----------------------------------------------------------------------------
socket = require("socket")
local socket = require("socket")
host = host or "*"
port1 = port1 or 8080
port2 = port2 or 8181