1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last change.
This commit is contained in:
parent
ec239360d1
commit
2d616b0b86
@ -56,8 +56,9 @@ _hurd_socket_server (int domain, int dead)
|
||||
file_t *new = realloc (servers, (domain + 1) * sizeof (file_t));
|
||||
if (new != NULL)
|
||||
{
|
||||
while (max_domain <= domain)
|
||||
do
|
||||
new[++max_domain] = MACH_PORT_NULL;
|
||||
while (max_domain < domain);
|
||||
servers = new;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user