summaryrefslogtreecommitdiff
path: root/kerberosIV/krb/debug_decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'kerberosIV/krb/debug_decl.c')
-rw-r--r--kerberosIV/krb/debug_decl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/kerberosIV/krb/debug_decl.c b/kerberosIV/krb/debug_decl.c
index 0df299ca6a1..2f968657d6e 100644
--- a/kerberosIV/krb/debug_decl.c
+++ b/kerberosIV/krb/debug_decl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: debug_decl.c,v 1.5 1998/02/25 15:51:05 art Exp $ */
+/* $OpenBSD: debug_decl.c,v 1.6 1998/07/07 19:06:45 art Exp $ */
/* $KTH: debug_decl.c,v 1.7 1997/10/28 15:44:00 bg Exp $ */
/*
@@ -41,3 +41,9 @@
int krb_ap_req_debug = 0;
int krb_debug = 0;
int krb_dns_debug = 0;
+
+int
+krb_enable_debug(void)
+{
+ krb_ap_req_debug = krb_debug = krb_dns_debug = 1;
+}