]> git.sur5r.net Git - openldap/blobdiff - libraries/liblber/options.c
Fix text2time to handle 4 digit years. Fix YEAR() to handle
[openldap] / libraries / liblber / options.c
index c6e976c80ed73e1bbd7a89e6737a1844c56133ac..6bdacc6bfcd4943fe0c6d93528901ae7341df82e 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
 #include "portable.h"
 
 #include <stdlib.h>
@@ -67,6 +71,10 @@ lber_set_option(
                if(option == LBER_OPT_BER_DEBUG) {
                        lber_int_debug = * (int *) invalue;
                        return LBER_OPT_SUCCESS;
+
+               } else if(option == LBER_OPT_LOG_PRINT_FN) {
+                       lber_pvt_log_print = (BER_LOG_PRINT_FN) invalue;
+                       return LBER_OPT_SUCCESS;
                }
 
                return LBER_OPT_ERROR;