Merge pull request #1 from sheumann/listen-fix

fix error check in mlisten
This commit is contained in:
ksherlock 2015-06-03 13:08:37 -04:00
commit 7b61839ac1
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;