From 7559837f8dfd2b61cfdf758fb8cdcd86f5bea0e3 Mon Sep 17 00:00:00 2001 From: Eduard Tolosa Date: Sat, 3 Oct 2020 16:19:13 -0500 Subject: [PATCH] Revert https://github.com/Edu4rdSHL/fhc/commit/f7d881e2806d0613bb339e5ae4fbd830a0568d8a --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0c61322..a1c16ce 100644 --- a/src/main.rs +++ b/src/main.rs @@ -95,9 +95,9 @@ async fn main() -> Result<(), Box> { let mut stdin = io::stdin(); stdin.read_to_string(&mut buffer).await?; let hosts: Vec = buffer.lines().map(str::to_owned).collect(); - let mut response_code = 0; futures::stream::iter(hosts.into_iter().map(|host| async move { + let mut response_code = 0; let mut protocol = String::new(); let client = reqwest::Client::builder() .timeout(std::time::Duration::from_secs(timeout))