aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/eol.lua6
-rw-r--r--etc/tftp.lua5
2 files changed, 6 insertions, 5 deletions
diff --git a/etc/eol.lua b/etc/eol.lua
index d3da776..01dba67 100644
--- a/etc/eol.lua
+++ b/etc/eol.lua
@@ -1,3 +1,9 @@
1-----------------------------------------------------------------------------
2-- Little program to adjust end of line markers.
3-- LuaSocket sample files
4-- Author: Diego Nehab
5-- RCS ID: $Id$
6-----------------------------------------------------------------------------
1local mime = require("mime") 7local mime = require("mime")
2local ltn12 = require("ltn12") 8local ltn12 = require("ltn12")
3local marker = '\n' 9local marker = '\n'
diff --git a/etc/tftp.lua b/etc/tftp.lua
index 6a1a093..2fc914e 100644
--- a/etc/tftp.lua
+++ b/etc/tftp.lua
@@ -13,11 +13,6 @@ local ltn12 = require("ltn12")
13local url = require("url") 13local url = require("url")
14 14
15----------------------------------------------------------------------------- 15-----------------------------------------------------------------------------
16-- Setup namespace
17-----------------------------------------------------------------------------
18_LOADED["tftp"] = getfenv(1)
19
20-----------------------------------------------------------------------------
21-- Program constants 16-- Program constants
22----------------------------------------------------------------------------- 17-----------------------------------------------------------------------------
23local char = string.char 18local char = string.char