set tls_port to zero if !defined(HAVE_TLS) to satisfy assert in slapd_daemon_init

This commit is contained in:
Gary Williams 1999-07-21 15:08:50 +00:00
parent f0f29cd82e
commit b8b68f0668

View file

@ -149,7 +149,11 @@ int main( int argc, char **argv )
int serverMode = SLAP_SERVER_MODE;
int port = LDAP_PORT;
#ifdef HAVE_TLS
int tls_port = LDAPS_PORT;
#else
int tls_port = 0;
#endif
g_argc = argc;
g_argv = argv;