fix error check in mlisten

This commit is contained in:
Stephen Heumann 2015-06-03 10:59:08 -05:00
parent e8382bb374
commit 4c42b341f3
1 changed files with 1 additions and 1 deletions

View File

@ -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;