mirror of
https://github.com/ksherlock/marignotti.git
synced 2024-12-13 17:30:06 +00:00
Merge pull request #1 from sheumann/listen-fix
fix error check in mlisten
This commit is contained in:
commit
7b61839ac1
@ -37,7 +37,7 @@ int mlisten(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||
if (t) return ENETDOWN;
|
||||
|
||||
// not in TCPSCLOSED state.
|
||||
if (terr = tcperrConExists) return EINVAL;
|
||||
if (terr == tcperrConExists) return EINVAL;
|
||||
if (terr) return EINVAL; // other errors?
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user