Refine type of SmtpState.suspended to bool

This commit is contained in:
Dmitry Bogatov
2019-08-01 06:41:50 +00:00
parent b2807429cc
commit 8eb5cec9ce
2 changed files with 6 additions and 6 deletions

View File

@@ -106,7 +106,7 @@ impl Default for BobStatus {
#[derive(Default, Debug)]
pub struct SmtpState {
pub idle: bool,
pub suspended: i32,
pub suspended: bool,
pub doing_jobs: i32,
pub perform_jobs_needed: i32,
pub probe_network: bool,