diff --git a/src/main.rs b/src/main.rs index aaaa6b8..dd4bc73 100644 --- a/src/main.rs +++ b/src/main.rs @@ -143,8 +143,7 @@ async fn publicise_it(path: &String, password: &String) -> Result Result> { debug!("Entering: traverse()"); // Initialize the indexed "pointer" let mut current_index: usize = 0; @@ -189,6 +188,7 @@ async fn traverse(mut result: Multistatus, password: &String) { } current_index += 1; } + Ok(true) } fn get_password() -> Result { @@ -230,6 +230,6 @@ async fn main() -> std::io::Result<()> { let mut result: Multistatus = from_str(&folder_contents).unwrap(); println!("{:?}", result); - traverse(result, &password); + let result: bool = traverse(result, &password).await.unwrap(); Ok(()) }