diff options
Diffstat (limited to 'net/openldap24-server/files/patch-servers::slapd::backend.c')
-rw-r--r-- | net/openldap24-server/files/patch-servers::slapd::backend.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/openldap24-server/files/patch-servers::slapd::backend.c b/net/openldap24-server/files/patch-servers::slapd::backend.c new file mode 100644 index 000000000000..663f1248838d --- /dev/null +++ b/net/openldap24-server/files/patch-servers::slapd::backend.c @@ -0,0 +1,19 @@ +--- servers/slapd/backend.c Mon Oct 6 16:57:29 2003 ++++ servers/slapd/backend.c Sun Oct 19 15:33:56 2003 +@@ -244,8 +244,6 @@ + int i; + int rc = 0; + +- init_syncrepl(); +- + if( ! ( nBackendDB > 0 ) ) { + /* no databases */ + #ifdef NEW_LOGGING +@@ -377,6 +375,7 @@ + if ( backendDB[i].syncinfo != NULL ) { + syncinfo_t *si = ( syncinfo_t * ) backendDB[i].syncinfo; + si->be = &backendDB[i]; ++ init_syncrepl(si); + ldap_pvt_thread_mutex_lock( &syncrepl_rq.rq_mutex ); + ldap_pvt_runqueue_insert( &syncrepl_rq, si->interval, + do_syncrepl, (void *) backendDB[i].syncinfo ); |