diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-06-12 22:02:21 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-06-12 22:02:21 +0000 |
commit | 8b114f3bf4ccea3b065551fa94649a9e45935b5b (patch) | |
tree | 06f2faa7e896e9434ba89ec68445ea56e6c8c6dc /samples | |
parent | b22f6f3830515a57a8776e7489b3e2d434abd12f (diff) | |
download | luasocket-8b114f3bf4ccea3b065551fa94649a9e45935b5b.tar.gz luasocket-8b114f3bf4ccea3b065551fa94649a9e45935b5b.tar.bz2 luasocket-8b114f3bf4ccea3b065551fa94649a9e45935b5b.zip |
Stupid bug in http.lua.
Diffstat (limited to 'samples')
-rw-r--r-- | samples/cddb.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/cddb.lua b/samples/cddb.lua index 3e48cf6..482dc98 100644 --- a/samples/cddb.lua +++ b/samples/cddb.lua | |||
@@ -39,7 +39,7 @@ if code == 200 then | |||
39 | if not data then | 39 | if not data then |
40 | print(error or code) | 40 | print(error or code) |
41 | else | 41 | else |
42 | for i,v in data do | 42 | for i,v in pairs(data) do |
43 | io.write(i, ': ', v, '\n') | 43 | io.write(i, ': ', v, '\n') |
44 | end | 44 | end |
45 | end | 45 | end |