From d843c75d7efe4adc5a91822f3f5a946bfaf7c42a Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Sat, 2 Mar 1996 05:21:33 +0000 Subject: [PATCH] Disable some debugging statements --- common/memory.c | 2 -- confpars.c | 3 --- memory.c | 2 -- server/confpars.c | 3 --- 4 files changed, 10 deletions(-) diff --git a/common/memory.c b/common/memory.c index b0e48cad..272f8799 100644 --- a/common/memory.c +++ b/common/memory.c @@ -230,7 +230,6 @@ void enter_lease (lease) /* If we don't have a place for this lease yet, save it for later. */ if (!comp) { -printf ("didn't find the lease...\n"); comp = new_lease ("enter_lease"); if (!comp) { error ("No memory for lease %s\n", @@ -241,7 +240,6 @@ printf ("didn't find the lease...\n"); lease -> prev = (struct lease *)0; dangling_leases = lease; } else { -printf ("superseding lease...\n"); supersede_lease (comp, lease, 0); } } diff --git a/confpars.c b/confpars.c index f3cf4f30..d80e276e 100644 --- a/confpars.c +++ b/confpars.c @@ -85,7 +85,6 @@ void read_leases (void) warn ("Can't open lease database %s: %m", _PATH_DHCPD_DB); do { token = next_token (&val, cfile); -printf ("token = %d\n", token); if (token == EOF) break; if (token != LEASE) { @@ -94,10 +93,8 @@ printf ("token = %d\n", token); } else { if (!setjmp (bc)) { struct lease *lease; -printf ("Parsing a lease...\n"); lease = parse_lease_statement (cfile, &bc); enter_lease (lease); -print_lease (lease); } } diff --git a/memory.c b/memory.c index b0e48cad..272f8799 100644 --- a/memory.c +++ b/memory.c @@ -230,7 +230,6 @@ void enter_lease (lease) /* If we don't have a place for this lease yet, save it for later. */ if (!comp) { -printf ("didn't find the lease...\n"); comp = new_lease ("enter_lease"); if (!comp) { error ("No memory for lease %s\n", @@ -241,7 +240,6 @@ printf ("didn't find the lease...\n"); lease -> prev = (struct lease *)0; dangling_leases = lease; } else { -printf ("superseding lease...\n"); supersede_lease (comp, lease, 0); } } diff --git a/server/confpars.c b/server/confpars.c index f3cf4f30..d80e276e 100644 --- a/server/confpars.c +++ b/server/confpars.c @@ -85,7 +85,6 @@ void read_leases (void) warn ("Can't open lease database %s: %m", _PATH_DHCPD_DB); do { token = next_token (&val, cfile); -printf ("token = %d\n", token); if (token == EOF) break; if (token != LEASE) { @@ -94,10 +93,8 @@ printf ("token = %d\n", token); } else { if (!setjmp (bc)) { struct lease *lease; -printf ("Parsing a lease...\n"); lease = parse_lease_statement (cfile, &bc); enter_lease (lease); -print_lease (lease); } }