From 3205ae3c3f0823745d6fbde34040a00cc3d54749 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 20 Apr 1999 21:58:53 +0000 Subject: [PATCH] 2nd arg of _thread_create() is an int, not a pointer to an attribute. s/NULL/0/ --- servers/slurpd/replica.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.47.2