From: Kurt Zeilenga Date: Mon, 16 Oct 2000 21:45:35 +0000 (+0000) Subject: Replace last commit with Stig's improved version X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1731 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1fb923e6e228978dfc4b47e1bca0fb5fdfee5516;p=openldap Replace last commit with Stig's improved version --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index b1a2ffc26d..5aecc3bcea 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -293,9 +293,8 @@ static int slap_get_listener_addresses( } if (*sap != NULL) { (*sap)->sa_family = sai->ai_family; - (*sap)->sa_len = sai->ai_addrlen; + sap++; } - sap++; } while ((sai = sai->ai_next) != NULL); freeaddrinfo(res);