diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/b64.lua | 6 | ||||
-rw-r--r-- | etc/tftp.lua | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/etc/b64.lua b/etc/b64.lua index 4d5f83e..d74c949 100644 --- a/etc/b64.lua +++ b/etc/b64.lua | |||
@@ -1,3 +1,9 @@ | |||
1 | ----------------------------------------------------------------------------- | ||
2 | -- Little program to convert to and from Base64 | ||
3 | -- LuaSocket sample files | ||
4 | -- Author: Diego Nehab | ||
5 | -- RCS ID: $Id$ | ||
6 | ----------------------------------------------------------------------------- | ||
1 | local ltn12 = require("ltn12") | 7 | local ltn12 = require("ltn12") |
2 | local mime = require("mime") | 8 | local mime = require("mime") |
3 | local source = ltn12.source.file(io.stdin) | 9 | local source = ltn12.source.file(io.stdin) |
diff --git a/etc/tftp.lua b/etc/tftp.lua index 5238de0..6a1a093 100644 --- a/etc/tftp.lua +++ b/etc/tftp.lua | |||
@@ -71,7 +71,7 @@ local function get_ERROR(dgram) | |||
71 | end | 71 | end |
72 | 72 | ||
73 | ----------------------------------------------------------------------------- | 73 | ----------------------------------------------------------------------------- |
74 | -- High level TFTP API | 74 | -- The real work |
75 | ----------------------------------------------------------------------------- | 75 | ----------------------------------------------------------------------------- |
76 | local function tget(gett) | 76 | local function tget(gett) |
77 | local retries, dgram, sent, datahost, dataport, code | 77 | local retries, dgram, sent, datahost, dataport, code |