2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00

Disable some debugging statements

This commit is contained in:
Ted Lemon 1996-03-02 05:21:33 +00:00
parent 1358b87447
commit d843c75d7e
4 changed files with 0 additions and 10 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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);
}
}