mostly revert previous commit

This commit is contained in:
Pierangelo Masarati 2005-07-20 19:26:46 +00:00
parent c789d494c4
commit 1b11741a30
2 changed files with 1 additions and 3 deletions

View File

@ -62,6 +62,7 @@ ber_get_option(
#else
return LBER_OPT_ERROR;
#endif
case LBER_OPT_LOG_PRINT_FILE:
*((FILE**)outvalue) = (FILE*)ber_pvt_err_file;
return LBER_OPT_SUCCESS;
@ -167,7 +168,6 @@ ber_set_option(
ber_int_memory_fns->bmf_free( ber_int_memory_fns, NULL );
ber_int_memory_fns = NULL;
ber_int_options.lbo_valid = LBER_UNINITIALIZED;
return LBER_OPT_SUCCESS;
}

View File

@ -73,8 +73,6 @@ slap_sl_mem_destroy(
ber_memfree_x(sh->sh_base, NULL);
ber_memfree_x(sh, NULL);
}
ber_set_option( NULL, LBER_OPT_MEMORY_FNS, NULL );
}
BerMemoryFunctions slap_sl_mfuncs =