diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2001-01-25 21:57:07 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2001-01-25 21:57:07 +0000 |
commit | 68f51243b38bf1e32d471e9cc9ddf12a25110e80 (patch) | |
tree | d2b99215d61a5ba780efe1b67d44512a94cf0f78 /samples/talker.lua | |
parent | 03e063c21eb153197d56cc82fa0356a15d7a467f (diff) | |
download | luasocket-68f51243b38bf1e32d471e9cc9ddf12a25110e80.tar.gz luasocket-68f51243b38bf1e32d471e9cc9ddf12a25110e80.tar.bz2 luasocket-68f51243b38bf1e32d471e9cc9ddf12a25110e80.zip |
Parameter passing updated.
Diffstat (limited to 'samples/talker.lua')
-rw-r--r-- | samples/talker.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/talker.lua b/samples/talker.lua index b3313e6..d66cf66 100644 --- a/samples/talker.lua +++ b/samples/talker.lua | |||
@@ -1,5 +1,5 @@ | |||
1 | host = "localhost" | 1 | host = host or "localhost" |
2 | port = 8080 | 2 | port = port or 8080 |
3 | if arg then | 3 | if arg then |
4 | host = arg[1] or host | 4 | host = arg[1] or host |
5 | port = arg[2] or port | 5 | port = arg[2] or port |