Cleanup: improve readability of filter expression condition
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Aug 2018 17:45:40 +0000 (13:45 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Aug 2018 17:45:59 +0000 (13:45 -0400)
commitd42bc3c80d1767802e05761b45b1577099623611
treeed21875a5563002328b857b344b8afaaf4bc4047
parenta1a9f823d124be389a2d50aaf29b50ff8cc793dd
Cleanup: improve readability of filter expression condition

In this situation, a logical inequality '!=' is equivalent to the
binary xor '^' that was used.

However, while it is equivalent, mixing logical ('!') and bitwise
operators ('^') makes this code harder to read than it needs to be.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/agent.c
This page took 0.024963 seconds and 4 git commands to generate.