Cleanup: improve readability of filter expression condition
[lttng-tools.git] / src / bin / lttng-sessiond / agent.c
index 310a7e8e1f7513dba73bd9d8d6a07ed16998eead..3b8acd2a2a0a57093c0d9822c7180a67f310b005 100644 (file)
@@ -143,7 +143,7 @@ static int ht_match_event(struct cds_lfht_node *node,
        }
 
        /* Filter expression */
-       if (!!event->filter_expression ^ !!key->filter_expression) {
+       if (!!event->filter_expression != !!key->filter_expression) {
                /* One has a filter expression, the other does not */
                goto no_match;
        }
This page took 0.023362 seconds and 4 git commands to generate.