diff options
author | Daniel Schadt <kingdread@gmx.de> | 2018-05-31 16:05:52 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2018-05-31 16:05:52 +0200 |
commit | 2d8c0f26c71e90e30d8aef35f7ae95003abf13d6 (patch) | |
tree | feb1b11fbc1409214c7ef23299df9ea813888f6e /src/lib.rs | |
parent | 4f3aa33ad3c7012105ef897da62220131ac9289c (diff) | |
download | evtclib-2d8c0f26c71e90e30d8aef35f7ae95003abf13d6.tar.gz evtclib-2d8c0f26c71e90e30d8aef35f7ae95003abf13d6.tar.bz2 evtclib-2d8c0f26c71e90e30d8aef35f7ae95003abf13d6.zip |
cargo fmt
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -275,7 +275,8 @@ fn set_agent_masters(data: &raw::Evtc, agents: &mut [Agent]) -> Result<(), EvtcE if event.src_master_instid != 0 { let mut master_addr = None; for agent in &*agents { - if agent.instance_id == event.src_master_instid && agent.first_aware < event.time + if agent.instance_id == event.src_master_instid + && agent.first_aware < event.time && event.time < agent.last_aware { master_addr = Some(agent.addr); |