Skip to content

Commit

Permalink
oops...
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrysoliteAzalea committed Jun 16, 2024
1 parent 760fb61 commit bca19b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sys/signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,7 @@ impl SignalValue {
match self {
SignalValue::Standard(_) => true,
SignalValue::Realtime(n) => {
n.clone() >= 0
&& n.clone() <= libc::SIGRTMAX() - libc::SIGRTMIN()
*n >= 0 && *n <= libc::SIGRTMAX() - libc::SIGRTMIN()
}
}
}
Expand Down

0 comments on commit bca19b8

Please sign in to comment.