2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 16:15:27 +00:00

dns_parser category was removed; fixed categorybyname to find a valid category

This commit is contained in:
David Lawrence
2000-04-06 20:28:29 +00:00
parent 11a898e050
commit 8b09428acb

View File

@@ -15,7 +15,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
/* $Id: log_test.c,v 1.11 2000/03/04 03:05:17 tale Exp $ */ /* $Id: log_test.c,v 1.12 2000/04/06 20:28:29 tale Exp $ */
/* Principal Authors: DCL */ /* Principal Authors: DCL */
@@ -123,11 +123,11 @@ main (int argc, char **argv) {
/* /*
* Test isc_log_categorybyname and isc_log_modulebyname. * Test isc_log_categorybyname and isc_log_modulebyname.
*/ */
category = isc_log_categorybyname(lctx, "dns_parser"); category = isc_log_categorybyname(lctx, "xfer-in");
if (category != NULL) if (category != NULL)
fprintf(stderr, "%s category found.\n", category->name); fprintf(stderr, "%s category found.\n", category->name);
else else
fprintf(stderr, "dns_parser category not found!\n"); fprintf(stderr, "xfer-in category not found!\n");
module = isc_log_modulebyname(lctx, "xyzzy"); module = isc_log_modulebyname(lctx, "xyzzy");
if (module != NULL) if (module != NULL)