mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
remove debugging printfs
This commit is contained in:
parent
f1400cb774
commit
01e8ed519e
@ -375,9 +375,6 @@ fillpool(isc_entropy_t *ent, unsigned int needed, isc_boolean_t blocking) {
|
|||||||
* others are always drained.
|
* others are always drained.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (blocking)
|
|
||||||
printf("Waiting for %u bytes...\n", needed);
|
|
||||||
|
|
||||||
added = 0;
|
added = 0;
|
||||||
remaining = needed;
|
remaining = needed;
|
||||||
again:
|
again:
|
||||||
@ -406,15 +403,11 @@ fillpool(isc_entropy_t *ent, unsigned int needed, isc_boolean_t blocking) {
|
|||||||
if (blocking && remaining != 0) {
|
if (blocking && remaining != 0) {
|
||||||
int fds;
|
int fds;
|
||||||
fds = wait_for_sources(ent);
|
fds = wait_for_sources(ent);
|
||||||
printf("wait_for_sources() returned %d (%u of %u, %u remaining)\n",
|
|
||||||
fds, added, needed, remaining);
|
fds, added, needed, remaining);
|
||||||
if (fds > 0)
|
if (fds > 0)
|
||||||
goto again;
|
goto again;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (blocking)
|
|
||||||
printf("Got %u bytes...\n", added);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adjust counts.
|
* Adjust counts.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user