Skip to content

Commit

Permalink
Update main file
Browse files Browse the repository at this point in the history
  • Loading branch information
k0pernicus committed Jan 9, 2017
1 parent 83e9b7d commit 3432b68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fn main() {
// Get the first response from the server
let client_response = hyper_client.get_http_response(&url).unwrap();

print!("# Waiting a response from the remote content server... ");
print!("# Waiting a response from the remote server... ");

if ! client_response.version.greater_than_http_11() {
println!("{}", Red.bold().paint("[ERROR] The version of HTTP requests must be >= HTTP1.1 !"));
Expand Down Expand Up @@ -91,8 +91,6 @@ fn main() {

let mut shared_chunks = Arc::new(Mutex::new(core_chunks));

println!("# Downloading chunk (using {} threads)... ", threads);

download_chunks(remote_content_length, &mut shared_chunks, threads as u64, &url);

let mut local_file = File::create(local_path).expect("[ERROR] Canno't create a file !");
Expand Down

0 comments on commit 3432b68

Please sign in to comment.