mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 10:38:05 +11:00
fixed a dumb bug in the KittenOS net lib
This commit is contained in:
parent
f3fc4b3504
commit
b25311bfed
@ -91,7 +91,7 @@ local function socket(addr,port,sclose) -- todo, add remote closing of sockets
|
|||||||
conn.write = cwrite
|
conn.write = cwrite
|
||||||
conn.read = cread
|
conn.read = cread
|
||||||
conn.state = "open"
|
conn.state = "open"
|
||||||
local function listener(_,t,f,p,d)
|
local function listener(t,f,p,d)
|
||||||
if f == conn.addr and p == conn.port then
|
if f == conn.addr and p == conn.port then
|
||||||
if d == sclose then
|
if d == sclose then
|
||||||
conn:close()
|
conn:close()
|
||||||
|
Loading…
Reference in New Issue
Block a user