X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslurpd%2Freplica.c;h=50aca4e77ef72525b543b732f56e4f96f3dda049;hb=a5c2403eb149d7c4e686abafa6bc4b73af9891a9;hp=8e919b274a887824f97465b44af7a278fa7246f9;hpb=72ba4cfb715001d30a6e48a2d7012f060f29d684;p=openldap diff --git a/servers/slurpd/replica.c b/servers/slurpd/replica.c index 8e919b274a..50aca4e77e 100644 --- a/servers/slurpd/replica.c +++ b/servers/slurpd/replica.c @@ -1,3 +1,4 @@ +/* $OpenLDAP$ */ /* * Copyright (c) 1996 Regents of the University of Michigan. * All rights reserved. @@ -55,7 +56,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 );