aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 04:28:21 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 04:28:21 +0000
commit0a4c1534f39511894728da193ab8225ad6022de9 (patch)
tree683b711accf64eca486b138cbc034c609f93a53a /etc
parent8e80e38f2c3121242b3b2f7a45a960c9af4d1a68 (diff)
downloadluasocket-0a4c1534f39511894728da193ab8225ad6022de9.tar.gz
luasocket-0a4c1534f39511894728da193ab8225ad6022de9.tar.bz2
luasocket-0a4c1534f39511894728da193ab8225ad6022de9.zip
Still work to do in the manual...
Diffstat (limited to 'etc')
-rw-r--r--etc/b64.lua6
-rw-r--r--etc/tftp.lua2
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-----------------------------------------------------------------------------
1local ltn12 = require("ltn12") 7local ltn12 = require("ltn12")
2local mime = require("mime") 8local mime = require("mime")
3local source = ltn12.source.file(io.stdin) 9local 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)
71end 71end
72 72
73----------------------------------------------------------------------------- 73-----------------------------------------------------------------------------
74-- High level TFTP API 74-- The real work
75----------------------------------------------------------------------------- 75-----------------------------------------------------------------------------
76local function tget(gett) 76local function tget(gett)
77 local retries, dgram, sent, datahost, dataport, code 77 local retries, dgram, sent, datahost, dataport, code