From: Kurt Zeilenga Date: Tue, 20 Apr 1999 21:58:53 +0000 (+0000) Subject: 2nd arg of _thread_create() is an int, not a pointer to an attribute. X-Git-Tag: OPENLDAP_REL_ENG_1_2_2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3205ae3c3f0823745d6fbde34040a00cc3d54749;p=thirdparty%2Fopenldap.git 2nd arg of _thread_create() is an int, not a pointer to an attribute. s/NULL/0/ --- diff --git a/servers/slurpd/replica.c b/servers/slurpd/replica.c index 8e919b274a..a75f22dfb3 100644 --- a/servers/slurpd/replica.c +++ b/servers/slurpd/replica.c @@ -55,7 +55,7 @@ start_replica_thread( ) { /* POSIX_THREADS or compatible */ - if ( ldap_pvt_thread_create( &(ri->ri_tid), NULL, replicate, + if ( ldap_pvt_thread_create( &(ri->ri_tid), 0, replicate, (void *) ri ) != 0 ) { Debug( LDAP_DEBUG_ANY, "replica \"%s:%d\" ldap_pvt_thread_create failed\n", ri->ri_hostname, ri->ri_port, 0 );