Code

smart: when threshold is valid, also test for "less or equal"
authorVincent Bernat <vincent@bernat.im>
Wed, 12 Nov 2014 14:39:42 +0000 (15:39 +0100)
committerVincent Bernat <vincent@bernat.im>
Wed, 12 Nov 2014 14:39:42 +0000 (15:39 +0100)
commit7ff56644807f6f783237bacc8f035b1380a698ec
treea47b5cca30c725e7684bedc67c9f1b985483968e
parent394a4b4a8f9ecb180a4356c59c13df61b5f9f357
smart: when threshold is valid, also test for "less or equal"

When the threshold is 0, a value of 0 should hit the threshold.
src/smart.c