]> git.sur5r.net Git - openldap/commitdiff
move bind_addr to make it externally available. NT needs to use the address to write...
authorGary Williams <gwilliams@openldap.org>
Thu, 6 May 1999 16:30:48 +0000 (16:30 +0000)
committerGary Williams <gwilliams@openldap.org>
Thu, 6 May 1999 16:30:48 +0000 (16:30 +0000)
servers/slapd/main.c

index 0119c1ab16dd7398b76e8152ef05c563f48ac40b..c58ffdaf1908fa3274710dc0cd88b36295ee59ce 100644 (file)
@@ -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