Commit 96958069 authored by Bob Halley's avatar Bob Halley
Browse files

Don't allow type 0 to be used in a define.

parent a5e49e5f
......@@ -175,6 +175,7 @@ isc_symtab_define(isc_symtab_t *symtab, char *key, unsigned int type,
REQUIRE(VALID_SYMTAB(symtab));
REQUIRE(key != NULL);
REQUIRE(type != 0);
FIND(symtab, key, type, bucket, elt);
......
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