From: Roland McGrath Date: Sun, 13 Jun 1999 13:56:47 +0000 (+0000) Subject: 1999-06-13 Roland McGrath X-Git-Tag: cvs/glibc_2-1-2~404 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91fae3b2928df8e5414ed682746fc8975b758190;p=thirdparty%2Fglibc.git 1999-06-13 Roland McGrath * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last change. --- diff --git a/hurd/hurdsock.c b/hurd/hurdsock.c index 082cbaf6d6e..bffa54a8797 100644 --- a/hurd/hurdsock.c +++ b/hurd/hurdsock.c @@ -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