mirror of
https://github.com/NLnetLabs/domain.git
synced 2026-09-23 10:15:00 +02:00
Remove unnecessary println.
This commit is contained in:
@@ -231,7 +231,6 @@ fn main() {
|
||||
options.qclass().unwrap());
|
||||
let response = resolver.sync_task(query).unwrap();
|
||||
println!("Done with task");
|
||||
/*
|
||||
let len = response.len();
|
||||
print_result(response);
|
||||
println!(";; Query time: not yet available.");
|
||||
@@ -239,8 +238,6 @@ fn main() {
|
||||
println!(";; WHEN: not yet available.");
|
||||
println!(";; MSG SIZE rcvd: {} bytes", len);
|
||||
println!("");
|
||||
*/
|
||||
println!("Dropping resolver");
|
||||
drop(resolver);
|
||||
join.join().unwrap();
|
||||
}
|
||||
|
||||
@@ -133,7 +133,6 @@ impl<X> Idle<X> {
|
||||
-> Response<TcpTransport<X>, ConnTransportSeed> {
|
||||
if self.info.process_commands() {
|
||||
// We got a close command and can shut down right away.
|
||||
println!("TCP transport done");
|
||||
Response::done()
|
||||
}
|
||||
else {
|
||||
@@ -384,7 +383,6 @@ impl<X> Closing<X> {
|
||||
-> Response<TcpTransport<X>, ConnTransportSeed> {
|
||||
self.info.flush_timeouts();
|
||||
scope.deregister(&self.sock).ok();
|
||||
println!("TCP transport done");
|
||||
Response::done()
|
||||
}
|
||||
|
||||
@@ -421,7 +419,6 @@ impl<X> Closing<X> {
|
||||
}
|
||||
}
|
||||
else {
|
||||
println!("TCP transport done");
|
||||
Response::done()
|
||||
}
|
||||
}
|
||||
@@ -458,7 +455,6 @@ impl<X> Failed<X> {
|
||||
fn wakeup(mut self, _scope: &mut Scope<X>)
|
||||
-> Response<TcpTransport<X>, ConnTransportSeed> {
|
||||
if self.info.reject_commands() {
|
||||
println!("TCP transport done");
|
||||
Response::done()
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user