From 1fb923e6e228978dfc4b47e1bca0fb5fdfee5516 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 16 Oct 2000 21:45:35 +0000 Subject: [PATCH] Replace last commit with Stig's improved version --- servers/slapd/daemon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5