projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng: destroy: ensure a cmd_error_code is returned by the command
[lttng-tools.git]
/
src
/
common
/
event-rule
/
log4j-logging.cpp
diff --git
a/src/common/event-rule/log4j-logging.cpp
b/src/common/event-rule/log4j-logging.cpp
index fec9589ad89d61c179b922c17e0b6887de04b21e..5655cd3bcc8fec6d0722bc166c50fe8c8f246f9d 100644
(file)
--- a/
src/common/event-rule/log4j-logging.cpp
+++ b/
src/common/event-rule/log4j-logging.cpp
@@
-145,12
+145,12
@@
static bool lttng_event_rule_log4j_logging_is_equal(const struct lttng_event_rul
/* Long check. */
LTTNG_ASSERT(a->pattern);
LTTNG_ASSERT(b->pattern);
/* Long check. */
LTTNG_ASSERT(a->pattern);
LTTNG_ASSERT(b->pattern);
- if (strcmp(a->pattern, b->pattern)) {
+ if (strcmp(a->pattern, b->pattern)
!= 0
) {
goto end;
}
if (a->filter_expression && b->filter_expression) {
goto end;
}
if (a->filter_expression && b->filter_expression) {
- if (strcmp(a->filter_expression, b->filter_expression)) {
+ if (strcmp(a->filter_expression, b->filter_expression)
!= 0
) {
goto end;
}
} else if (!!a->filter_expression != !!b->filter_expression) {
goto end;
}
} else if (!!a->filter_expression != !!b->filter_expression) {
This page took
0.022942 seconds
and
4
git commands to generate.