aboutsummaryrefslogtreecommitdiff
path: root/samples/cddb.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-05-28 07:24:43 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-05-28 07:24:43 +0000
commitc98dc991998c724a3f6a1fdd90b5d1d8a80e3af3 (patch)
tree8d8b8aa856d8a3e822121d0915a63b8244f471bb /samples/cddb.lua
parent9297b074d53a00e1149250e0bbfa0871dcc5558f (diff)
downloadluasocket-c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3.tar.gz
luasocket-c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3.tar.bz2
luasocket-c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3.zip
Bug feioso no UDP e possivelmente no TCP também.
Diffstat (limited to 'samples/cddb.lua')
-rw-r--r--samples/cddb.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/cddb.lua b/samples/cddb.lua
index 0ed7c71..09309e8 100644
--- a/samples/cddb.lua
+++ b/samples/cddb.lua
@@ -1,3 +1,6 @@
1require"luasocket"
2require"http"
3
1if not arg or not arg[1] or not arg[2] then 4if not arg or not arg[1] or not arg[2] then
2 print("luasocket cddb.lua <category> <disc-id> [<server>]") 5 print("luasocket cddb.lua <category> <disc-id> [<server>]")
3 os.exit(1) 6 os.exit(1)