Code

src/utils_match.h: Fix a bug preventing derive values from being handled correctly.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 16 Aug 2010 08:32:27 +0000 (10:32 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 16 Aug 2010 08:32:27 +0000 (10:32 +0200)
commitfd4a555fed0d88033e2e5bbe3c84f9847fd1ec22
tree4a227c00207d55f8620cfd21d15f1e68e9693ef7
parent3d96322c6330132dd67312b72cb62df10a7f09cf
src/utils_match.h: Fix a bug preventing derive values from being handled correctly.

Due to the bit-wise check, the value for derive (0x30) matches the check
for gauge (0x10), too. This commit fixes the behavior by assigning other
numeric values to the defines.
src/utils_match.c
src/utils_match.h