Skip to content

Commit

Permalink
Fix missing ?
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Nov 30, 2021
1 parent 2f126d9 commit f3d765a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ unsafe fn _network_open(
// RANGE header definition is "bytes=x-y"
let hvalue = format!("bytes={}-{}", offset, end);
// Create a new client that can be reused for subsequent queries
let clt = Client::builder().build();
let clt = Client::builder().build()?;
let req = clt.request(Method::GET, &url);
// this performs the initial byte read, presumably as an error check
let initial = req.try_clone().ok_or(ProjError::RequestCloneError)?;
Expand Down

0 comments on commit f3d765a

Please sign in to comment.