diff options
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/check-links.lua | 2 | ||||
| -rw-r--r-- | etc/dict.lua | 2 | ||||
| -rw-r--r-- | etc/get.lua | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/etc/check-links.lua b/etc/check-links.lua index 705c0ce..4c96fdc 100644 --- a/etc/check-links.lua +++ b/etc/check-links.lua | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | ----------------------------------------------------------------------------- | 1 | ----------------------------------------------------------------------------- |
| 2 | -- Little program that checks links in HTML files | 2 | -- Little program that checks links in HTML files |
| 3 | -- LuaSocket 1.5 sample files. | 3 | -- LuaSocket 1.5 sample files. |
| 4 | -- Author: Diego Nehab | ||
| 5 | -- RCS ID: $Id$ | ||
| 4 | ----------------------------------------------------------------------------- | 6 | ----------------------------------------------------------------------------- |
| 5 | socket.http.TIMEOUT = 10 | 7 | socket.http.TIMEOUT = 10 |
| 6 | 8 | ||
diff --git a/etc/dict.lua b/etc/dict.lua index 6790cab..89bdb4f 100644 --- a/etc/dict.lua +++ b/etc/dict.lua | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | ----------------------------------------------------------------------------- | 1 | ----------------------------------------------------------------------------- |
| 2 | -- Little program to download DICT word definitions | 2 | -- Little program to download DICT word definitions |
| 3 | -- LuaSocket 1.5 sample files | 3 | -- LuaSocket 1.5 sample files |
| 4 | -- Author: Diego Nehab | ||
| 5 | -- RCS ID: $Id$ | ||
| 4 | ----------------------------------------------------------------------------- | 6 | ----------------------------------------------------------------------------- |
| 5 | function get_status(sock, valid) | 7 | function get_status(sock, valid) |
| 6 | local line, err = sock:receive() | 8 | local line, err = sock:receive() |
diff --git a/etc/get.lua b/etc/get.lua index af46c16..e972d16 100644 --- a/etc/get.lua +++ b/etc/get.lua | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | ----------------------------------------------------------------------------- | 1 | ----------------------------------------------------------------------------- |
| 2 | -- Little program to download files from URLs | 2 | -- Little program to download files from URLs |
| 3 | -- LuaSocket 1.5 sample files | 3 | -- LuaSocket 1.5 sample files |
| 4 | -- Author: Diego Nehab | ||
| 5 | -- RCS ID: $Id$ | ||
| 4 | ----------------------------------------------------------------------------- | 6 | ----------------------------------------------------------------------------- |
| 5 | -- formats a number of seconds into human readable form | 7 | -- formats a number of seconds into human readable form |
| 6 | function nicetime(s) | 8 | function nicetime(s) |
