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 /src/url.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 '')
-rw-r--r-- | src/url.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/url.lua b/src/url.lua index 08081f0..7f2c756 100644 --- a/src/url.lua +++ b/src/url.lua | |||
@@ -11,7 +11,7 @@ | |||
11 | local string = require("string") | 11 | local string = require("string") |
12 | local base = require("base") | 12 | local base = require("base") |
13 | local table = require("table") | 13 | local table = require("table") |
14 | local url = module("socket.url") | 14 | module("socket.url") |
15 | 15 | ||
16 | ----------------------------------------------------------------------------- | 16 | ----------------------------------------------------------------------------- |
17 | -- Encodes a string into its escaped hexadecimal representation | 17 | -- Encodes a string into its escaped hexadecimal representation |
@@ -273,4 +273,4 @@ function build_path(parsed, unsafe) | |||
273 | return path | 273 | return path |
274 | end | 274 | end |
275 | 275 | ||
276 | base.setmetatable(url, nil) | 276 | base.getmetatable(_M).__index = nil |