Commit ba06508f authored by Mark Andrews's avatar Mark Andrews
Browse files

ISC_MEM_DEBUGRECORD was turned on accidently.

'm' option was missing from isc_commandline_parse()
parent 614a25ce
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: named-checkconf.c,v 1.23 2002/04/02 06:54:03 marka Exp $ */ /* $Id: named-checkconf.c,v 1.24 2002/07/11 04:40:07 marka Exp $ */
#include <config.h> #include <config.h>
...@@ -51,7 +51,7 @@ isc_log_t *logc = NULL; ...@@ -51,7 +51,7 @@ isc_log_t *logc = NULL;
static void static void
usage(void) { usage(void) {
fprintf(stderr, "usage: named-checkconf [-v] [-z] [-t directory] " fprintf(stderr, "usage: named-checkconf [-m] [-v] [-z] [-t directory] "
"[named.conf]\n"); "[named.conf]\n");
exit(1); exit(1);
} }
...@@ -198,9 +198,7 @@ main(int argc, char **argv) { ...@@ -198,9 +198,7 @@ main(int argc, char **argv) {
int exit_status = 0; int exit_status = 0;
isc_boolean_t load_zones = ISC_FALSE; isc_boolean_t load_zones = ISC_FALSE;
isc_mem_debugging |= ISC_MEM_DEBUGRECORD; while ((c = isc_commandline_parse(argc, argv, "dmt:vz")) != EOF) {
while ((c = isc_commandline_parse(argc, argv, "dt:vz")) != EOF) {
switch (c) { switch (c) {
case 'd': case 'd':
debug++; debug++;
......
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