fix stdio

This commit is contained in:
Daniella / Tove 2023-03-02 17:59:43 +01:00
parent a10ebcd10c
commit 69081acc51
Signed by: TudbuT
GPG key ID: 7D63D5634B7C417F

View file

@ -470,7 +470,7 @@ pub fn receiver<F: Fn(f32)>(args: &Vec<String>, on_progress: F) {
let len = u64::from_be_bytes([
len[0], len[1], len[2], len[3], len[4], len[5], len[6], len[7],
]);
file.set_len(len).expect("unable to set file length");
let _ = file.set_len(len);
println!("Length: {}", &len);
let mut time = unix_millis();
loop {