Fixed the bug that div_bind() always returned zero
even if there was an error (broken in rev 1.9).
This commit is contained in:
parent
6159b9dd5b
commit
3e065e76ac
@ -423,7 +423,7 @@ div_bind(struct socket *so, struct sockaddr *nam, struct proc *p)
|
||||
error = in_pcbbind(inp, nam, p);
|
||||
}
|
||||
splx(s);
|
||||
return 0;
|
||||
return error;
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
x
Reference in New Issue
Block a user