X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fagent.c;h=3b8acd2a2a0a57093c0d9822c7180a67f310b005;hp=310a7e8e1f7513dba73bd9d8d6a07ed16998eead;hb=d42bc3c80d1767802e05761b45b1577099623611;hpb=a1a9f823d124be389a2d50aaf29b50ff8cc793dd diff --git a/src/bin/lttng-sessiond/agent.c b/src/bin/lttng-sessiond/agent.c index 310a7e8e1..3b8acd2a2 100644 --- a/src/bin/lttng-sessiond/agent.c +++ b/src/bin/lttng-sessiond/agent.c @@ -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; }