]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r354834 (by jhibbits):
authorDimitry Andric <dim@FreeBSD.org>
Sat, 25 Apr 2020 12:57:20 +0000 (12:57 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Sat, 25 Apr 2020 12:57:20 +0000 (12:57 +0000)
commit450a344b0e2e346c56de4186b93e1be79c0455cd
tree2d9c0836ed7180f1dfd7346192ba69771bbaf4da
parentd781a2df31fcdb1f8a6a32e4c2fe210649143583
MFC r354834 (by jhibbits):

bsnmp: Fix operator precedence in error check in table_check_response

Summary:
The ?: operator has a lower precedence than == and &&, so the result will always
be recorded as true.  Found by gcc8.

Reviewed by: ngie, ae
Differential Revision: https://reviews.freebsd.org/D22427
contrib/bsnmp/lib/snmpclient.c