Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lif committed Feb 14, 2024
1 parent 48aa1bb commit 2cb980f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ impl<O: AsyncWriteExt + Unpin + Send + AsRawFdHandle> Console<O> {
bytes.len() as u32,
(&mut _lp_num_of_chars_written) as LPDWORD,
std::ptr::null_mut::<VOID>(),
);
}
)
};
if res == 0 {
return Err(std::io::Error::last_os_error().into());
}
Expand Down

0 comments on commit 2cb980f

Please sign in to comment.