/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2001-2015 The OpenLDAP Foundation.
+ * Copyright 2001-2018 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
cb->sc_response = slapi_over_response;
cb->sc_cleanup = slapi_over_cleanup;
cb->sc_private = pb;
+ cb->sc_writewait = 0;
cb->sc_next = op->o_callback;
op->o_callback = cb;
}
cb.sc_response = NULL;
cb.sc_cleanup = NULL;
+ cb.sc_writewait = NULL;
pb = SLAPI_OPERATION_PBLOCK( op );
cb.sc_response = NULL;
cb.sc_cleanup = NULL;
+ cb.sc_writewait = NULL;
pb = SLAPI_OPERATION_PBLOCK( op );
if ( slapi_over_initialized == 0 ) {
int rc;
- /* do global initializaiton */
+ /* do global initialization */
ldap_pvt_thread_mutex_init( &slapi_hn_mutex );
ldap_pvt_thread_mutex_init( &slapi_time_mutex );
ldap_pvt_thread_mutex_init( &slapi_printmessage_mutex );