diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-12-23 22:32:12 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-12-23 22:32:12 +0000 |
commit | 2f970d782ea97a73787f76bd100bb06615456904 (patch) | |
tree | 949257dd1ec89db41757fe1f0209c8f8a7e2bbe8 /etc/tftp.lua | |
parent | ae2d2859e7882d553276896d499064a2407c3853 (diff) | |
download | luasocket-2f970d782ea97a73787f76bd100bb06615456904.tar.gz luasocket-2f970d782ea97a73787f76bd100bb06615456904.tar.bz2 luasocket-2f970d782ea97a73787f76bd100bb06615456904.zip |
Changes due to new compat-5.1
Diffstat (limited to 'etc/tftp.lua')
-rw-r--r-- | etc/tftp.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/tftp.lua b/etc/tftp.lua index 83a08b9..a8158e2 100644 --- a/etc/tftp.lua +++ b/etc/tftp.lua | |||
@@ -15,7 +15,7 @@ local string = require("string") | |||
15 | local socket = require("socket") | 15 | local socket = require("socket") |
16 | local ltn12 = require("ltn12") | 16 | local ltn12 = require("ltn12") |
17 | local url = require("socket.url") | 17 | local url = require("socket.url") |
18 | local tftp = module("socket.tftp") | 18 | module("socket.tftp") |
19 | 19 | ||
20 | ----------------------------------------------------------------------------- | 20 | ----------------------------------------------------------------------------- |
21 | -- Program constants | 21 | -- Program constants |
@@ -153,4 +153,4 @@ get = socket.protect(function(gett) | |||
153 | else return tget(gett) end | 153 | else return tget(gett) end |
154 | end) | 154 | end) |
155 | 155 | ||
156 | base.setmetatable(tftp, nil) | 156 | base.getmetatable(_M).__index = nil |