defined.
(DEBUG): Don't define.
(krb5int_sendtokdc_debug_handler): Initialize to null if DEBUG is not defined.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15949
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-12-19 Ken Raeburn <raeburn@mit.edu>
+
+ * sendto_kdc.c (default_debug_handler, put, putstr): Define only
+ if DEBUG is defined.
+ (DEBUG): Don't define.
+ (krb5int_sendtokdc_debug_handler): Initialize to null if DEBUG is
+ not defined.
+
2003-12-18 Jeffrey Altman <jaltman@mit.edu>
* accessor.c: Add new functions for use by gssapi
#ifdef DEBUG
int krb5int_debug_sendto_kdc = 0;
#define debug krb5int_debug_sendto_kdc
-#endif
static void default_debug_handler (const void *data, size_t len)
{
{
put(str, strlen(str));
}
+#else
+void (*krb5int_sendtokdc_debug_handler) (const void *, size_t) = 0;
+#endif
#define dprint krb5int_debug_fprint
static void