diff options
Diffstat (limited to 'crates/shirabe/src/util/http')
| -rw-r--r-- | crates/shirabe/src/util/http/curl_downloader.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/shirabe/src/util/http/curl_downloader.rs b/crates/shirabe/src/util/http/curl_downloader.rs index 9d572fa..c9eb2f8 100644 --- a/crates/shirabe/src/util/http/curl_downloader.rs +++ b/crates/shirabe/src/util/http/curl_downloader.rs @@ -197,9 +197,7 @@ impl CurlDownloader { share_handle = Some(sh); } - // TODO(phase-b): clone io/config for AuthHelper construction without consuming. - let auth_helper = - AuthHelper::new(unsafe { std::mem::zeroed() }, unsafe { std::mem::zeroed() }); + let auth_helper = AuthHelper::new(io.clone(), config.clone()); let mut multi_errors: IndexMap<i64, Vec<String>> = IndexMap::new(); multi_errors.insert( |
