From: Gary Williams Date: Thu, 6 May 1999 16:30:48 +0000 (+0000) Subject: move bind_addr to make it externally available. NT needs to use the address to write... X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~70 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d6923c6556aa1955f43ff8e3253f78ac8cc33cb;p=openldap move bind_addr to make it externally available. NT needs to use the address to write to the listen socket to break out of the select --- diff --git a/servers/slapd/main.c b/servers/slapd/main.c index 0119c1ab16..c58ffdaf19 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -78,6 +78,7 @@ usage( char *name ) } time_t starttime; +struct sockaddr_in bind_addr; int main( int argc, char **argv ) @@ -85,7 +86,6 @@ main( int argc, char **argv ) int i; int inetd = 0; int rc; - struct sockaddr_in bind_addr; int tcps; int udp; #ifdef LOG_LOCAL4