/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2000-2003 The OpenLDAP Foundation.
+ * Copyright 2000-2005 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#include <ac/string.h>
#include "back-bdb.h"
-#include "external.h"
#include "lber_pvt.h"
#include "lutil.h"
delay = 16384 * (key * (double) pow_retries / (double) max_key);
delay = delay ? delay : 1;
-#ifdef NEW_LOGGING
- LDAP_LOG( OPERATION, ERR, "delay = %d, num_retries = %d\n", delay, num_retries, 0 );
-#else
Debug( LDAP_DEBUG_TRACE, "delay = %d, num_retries = %d\n", delay, num_retries, 0 );
-#endif
timeout.tv_sec = delay / 1000000;
timeout.tv_usec = delay % 1000000;