Commit 8b09428a authored by David Lawrence's avatar David Lawrence
Browse files

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

parent 11a898e0
......@@ -15,7 +15,7 @@
* 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 */
......@@ -123,11 +123,11 @@ main (int argc, char **argv) {
/*
* 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)
fprintf(stderr, "%s category found.\n", category->name);
else
fprintf(stderr, "dns_parser category not found!\n");
fprintf(stderr, "xfer-in category not found!\n");
module = isc_log_modulebyname(lctx, "xyzzy");
if (module != NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment