Launch the rotation thread using lttng_thread
[lttng-tools.git] / src / bin / lttng-sessiond / agent.c
index 7cbbbdee0dddfec3ef596b4d624031885fbf49b5..3b8acd2a2a0a57093c0d9822c7180a67f310b005 100644 (file)
@@ -29,7 +29,7 @@
 #include "agent.h"
 #include "ust-app.h"
 #include "utils.h"
-#include "error.h"
+#include "common/error.h"
 
 #define AGENT_RET_CODE_INDEX(code) (code - AGENT_RET_CODE_SUCCESS)
 
@@ -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.023077 seconds and 4 git commands to generate.