Skip to content

Commit

Permalink
fix print erre compoilatoih
Browse files Browse the repository at this point in the history
  • Loading branch information
valesteban committed Nov 9, 2023
1 parent e4d241a commit 0a89b64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ pub fn main() {
let conn = ClientTCPConnection::new(addr.unwrap(), Duration::from_secs(10));
let mut client = Client::new(conn);

let mut response = client.query(DomainName::new_from_string(client_args.host_name.clone()), client_args.qtype.as_str(), client_args.qclass.as_str());
let mut _response = client.query(DomainName::new_from_string(client_args.host_name.clone()), client_args.qtype.as_str(), client_args.qclass.as_str());

response.print_dns_message()
//response.print_dns_message()
}
}
}

0 comments on commit 0a89b64

Please sign in to comment.