]> The Tcpdump Group git mirrors - tcpdump/commit
Don't decrement an unsigned value past zero.
authorGuy Harris <[email protected]>
Thu, 1 Feb 2018 22:19:08 +0000 (14:19 -0800)
committerGuy Harris <[email protected]>
Thu, 1 Feb 2018 22:19:08 +0000 (14:19 -0800)
commit3582e7ac3d179510287a02861bed2b92f519d5d6
tree430d90a1cf46121f3bf4d6c578d5bdca572568e6
parent95e7cd03e61dc2bf90d57d192658cf17acc8f776
Don't decrement an unsigned value past zero.

That also means we do one less decrement, so it's not as if testing
exp-- rather than testing exp and separately decrementing it is an
optimization.
print-olsr.c