Removed unused stuff

This commit is contained in:
famfo 2022-01-02 11:27:45 +01:00
parent 2df4a7a7ce
commit 55b1461296

View file

@ -92,7 +92,6 @@ impl Client {
.unwrap();
tracing::debug!("New TcpStream created");
#[cfg(feature = "tls")]
{
let connector = TlsConnector::builder().build().unwrap();
@ -200,9 +199,6 @@ impl Client {
return Ok(None);
}
// Slice to the number of bytes that were actually read
//let res = String::from_utf8_lossy(&buffer[..num_bytes]);
Ok(Some(buffer.into()))
}