#include "lutil.h", to get lutil_entropy(). Fix call to lutil_entropy().

This commit is contained in:
Hallvard Furuseth 2003-09-29 23:33:39 +00:00
parent b10daf623f
commit 8efd391832

View file

@ -9,6 +9,7 @@
#include "back-bdb.h"
#include "external.h"
#include "lber_pvt.h"
#include "lutil.h"
/* Congestion avoidance code
@ -25,7 +26,7 @@ bdb_trans_backoff( int num_retries )
unsigned long max_key = -1;
struct timeval timeout;
lutil_entropy( &key, sizeof( unsigned long ));
lutil_entropy( (unsigned char *) &key, sizeof( unsigned long ));
for ( i = 0; i < num_retries; i++ ) {
if ( i >= 5 ) break;