+/* $OpenLDAP$ */
/*
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
#include "ldap_log.h"
#include "ldap_defaults.h"
+#include "lber.h"
static FILE *log_file;
int lutil_debug_file( FILE *file )
{
log_file = file;
+ ber_set_option( NULL, LBER_OPT_LOG_PRINT_FILE, file );
return 0;
}
if ( log_file == NULL )
return;
+
+ ber_set_option( NULL, LBER_OPT_LOG_PRINT_FILE, file );
}
#endif
-
va_start( vl, fmt );
#ifdef HAVE_VSNPRINTF