Module Name: src
Committed By: christos
Date: Wed May 27 22:37:37 UTC 2015
Modified Files:
src/external/bsd/blacklist/bin: state.c
Log Message:
print the key in human readable form when debugging.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/bsd/blacklist/bin/state.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/blacklist/bin/state.c
diff -u src/external/bsd/blacklist/bin/state.c:1.15 src/external/bsd/blacklist/bin/state.c:1.16
--- src/external/bsd/blacklist/bin/state.c:1.15 Tue Jan 27 14:40:37 2015
+++ src/external/bsd/blacklist/bin/state.c Wed May 27 18:37:37 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: state.c,v 1.15 2015/01/27 19:40:37 christos Exp $ */
+/* $NetBSD: state.c,v 1.16 2015/05/27 22:37:37 christos Exp $ */
/*-
* Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: state.c,v 1.15 2015/01/27 19:40:37 christos Exp $");
+__RCSID("$NetBSD: state.c,v 1.16 2015/05/27 22:37:37 christos Exp $");
#include <sys/types.h>
#include <sys/socket.h>
@@ -115,6 +115,9 @@ dumpkey(const struct conf *k)
z = sizeof(buf);
}
(*lfun)(LOG_DEBUG, "%s", buf);
+ (*lfun)(LOG_DEBUG, "%s: %s", __func__,
+ conf_print(buf, sizeof(buf), "", "", k));
+
}
int