Skip to content

Commit a76ae5f

Browse files
Update src/ftp.rs
Co-authored-by: Daniel García <[email protected]>
1 parent ece0aa2 commit a76ae5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ftp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ impl FtpStream {
292292
pub async fn restart_from(&mut self, offset: u64) -> Result<()> {
293293
let rest_command = format!("REST {}\r\n", offset.to_string());
294294
self.write_str(&rest_command).await?;
295-
self.read_response(status::REQUEST_FILE_PENDING).map(|_| ())
295+
self.read_response(status::REQUEST_FILE_PENDING).await.map(|_| ())
296296
}
297297

298298
/// Retrieves the file name specified from the server.

0 commit comments

Comments
 (0)