Skip to content
Snippets Groups Projects
Commit 539a7dbf authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Remove HAVE_LWP use from slurpd. globals for ldap_pvt_thread_sleep()

need to be managed completely by -lldap_r.
parent 6128be06
Branches
Tags
No related merge requests found
......@@ -68,10 +68,6 @@ init_globals( void )
#ifdef HAVE_KERBEROS
g->default_srvtab = SRVTAB;
#endif /* HAVE_KERBEROS */
#if defined( HAVE_LWP )
g->tsl_list = NULL;
mon_create( &g->tsl_mon );
#endif /* HAVE_LWP */
return g;
}
......@@ -58,10 +58,6 @@ typedef struct globals {
/* Default name of kerberos srvtab file */
char *default_srvtab;
#endif /* HAVE_KERBEROS */
#if defined( HAVE_LWP ) && !defined( HAVE_THR )
tl_t *tsl_list;
mon_t tsl_mon;
#endif /* THREAD_SUNOS4_LWP */
} Globals;
......
......@@ -80,10 +80,9 @@ Re_free(
"Warning: freeing re (dn: %s) with nonzero refcnt\n",
re->re_dn, 0, 0 );
}
#if !defined( HAVE_LWP )
/* This seems to have problems under SunOS lwp */
ldap_pvt_thread_mutex_destroy( &re->re_mutex );
#endif /* HAVE_LWP */
ch_free( re->re_timestamp );
if (( rh = re->re_replicas ) != NULL ) {
for ( i = 0; rh[ i ].rh_hostname != NULL; i++ ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment