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/lp.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/lp.lua')
-rw-r--r-- | etc/lp.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ local base = require("base") | |||
14 | local string = require("string") | 14 | 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 lp = module("socket.lp") | 17 | module("socket.lp") |
18 | 18 | ||
19 | -- default port | 19 | -- default port |
20 | PORT = 515 | 20 | PORT = 515 |
@@ -318,4 +318,4 @@ query = socket.protect(function(p) | |||
318 | return data | 318 | return data |
319 | end) | 319 | end) |
320 | 320 | ||
321 | base.setmetatable(lp, nil) | 321 | base.getmetatable(_M).__index = nil |