mirror of
https://github.com/ksherlock/marignotti.git
synced 2024-06-15 19:29:30 +00:00
fix error check in mlisten
This commit is contained in:
parent
e8382bb374
commit
4c42b341f3
|
@ -37,7 +37,7 @@ int mlisten(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
if (t) return ENETDOWN;
|
if (t) return ENETDOWN;
|
||||||
|
|
||||||
// not in TCPSCLOSED state.
|
// not in TCPSCLOSED state.
|
||||||
if (terr = tcperrConExists) return EINVAL;
|
if (terr == tcperrConExists) return EINVAL;
|
||||||
if (terr) return EINVAL; // other errors?
|
if (terr) return EINVAL; // other errors?
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user