mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 04:28:20 +01:00
Parameter passing updated.
This commit is contained in:
parent
03e063c21e
commit
68f51243b3
@ -1,5 +1,5 @@
|
|||||||
host = "localhost"
|
host = host or "localhost"
|
||||||
port = 8080
|
port = host or 8080
|
||||||
if arg then
|
if arg then
|
||||||
host = arg[1] or host
|
host = arg[1] or host
|
||||||
port = arg[2] or port
|
port = arg[2] or port
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
host = "localhost"
|
host = host or "localhost"
|
||||||
port = 8080
|
port = port or 8080
|
||||||
if arg then
|
if arg then
|
||||||
host = arg[1] or host
|
host = arg[1] or host
|
||||||
port = arg[2] or port
|
port = arg[2] or port
|
||||||
|
Loading…
Reference in New Issue
Block a user