diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 942961b..f9ba899 100644 --- a/src/main.rs +++ b/src/main.rs @@ -55,7 +55,7 @@ fn main() -> Result<()> { let path = args.maildir_path.join(args.mail_user); - stdout().write(b"OPEN\n")?; + stdout().write_all(b"OPEN\n")?; stdout().flush()?; let mut req = Vec::with_capacity(2048); stdin().read_to_end(&mut req)?; |