Fix the PartialEq utmpx impl

This commit is contained in:
GrayJack 2019-11-20 12:38:29 -03:00
parent 40f9253fc9
commit 5d3c5b9d40
1 changed files with 5 additions and 1 deletions

View File

@ -428,7 +428,11 @@ cfg_if! {
&& self.ut_session == other.ut_session
&& self.ut_tv == other.ut_tv
&& self.ut_ss == other.ut_ss
&& self.ut_pad == other.ut_pad
&& self
.ut_pad
.iter()
.zip(other.ut_pad.iter())
.all(|(a,b)| a == b)
&& self
.ut_host
.iter()