]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/replica.c
place old schema codes behind -DSLAPD_SCHEMA_COMPAT
[openldap] / servers / slurpd / replica.c
index 7ccd356a15f33150411684ae415237c8fc5643b5..50aca4e77ef72525b543b732f56e4f96f3dda049 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright (c) 1996 Regents of the University of Michigan.
  * All rights reserved.
@@ -55,9 +56,9 @@ start_replica_thread(
 )
 {
     /* POSIX_THREADS or compatible */
-    if ( pthread_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\" pthread_create failed\n",
+       Debug( LDAP_DEBUG_ANY, "replica \"%s:%d\" ldap_pvt_thread_create failed\n",
                ri->ri_hostname, ri->ri_port, 0 );
        return -1;
     }