From 3f7ac15d71e42eddce8807e73b91730a63b45a02 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 17 Feb 2005 23:46:49 +0000 Subject: [PATCH] * krb5_libinit.c (krb5int_lib_fini): Only show "skipping" message if SHOW_INITFINI_FUNCS is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17105 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ChangeLog | 5 +++++ src/lib/krb5/krb5_libinit.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/lib/krb5/ChangeLog b/src/lib/krb5/ChangeLog index 97862beb0..e7e12a200 100644 --- a/src/lib/krb5/ChangeLog +++ b/src/lib/krb5/ChangeLog @@ -1,3 +1,8 @@ +2005-02-17 Ken Raeburn + + * krb5_libinit.c (krb5int_lib_fini): Only show "skipping" message + if SHOW_INITFINI_FUNCS is defined. + 2005-02-08 Ken Raeburn * krb5_libinit.c (krb5int_lib_init, krb5int_lib_fini): If diff --git a/src/lib/krb5/krb5_libinit.c b/src/lib/krb5/krb5_libinit.c index 126dc2e50..8764e699b 100644 --- a/src/lib/krb5/krb5_libinit.c +++ b/src/lib/krb5/krb5_libinit.c @@ -71,7 +71,9 @@ krb5_error_code krb5int_initialize_library (void) void krb5int_lib_fini(void) { if (!INITIALIZER_RAN(krb5int_lib_init) || PROGRAM_EXITING()) { +#ifdef SHOW_INITFINI_FUNCS printf("krb5int_lib_fini: skipping\n"); +#endif return; } -- 2.26.2