projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clang-tidy: add most bugprone warnings
[lttng-tools.git]
/
tests
/
regression
/
tools
/
trigger
/
utils
/
notification-client.c
diff --git
a/tests/regression/tools/trigger/utils/notification-client.c
b/tests/regression/tools/trigger/utils/notification-client.c
index 3d8aec46ddbd8b7feb5cf90dbc75a43298384bfc..11e9206964b80974dffbabbf1e77d30afa61eb3f 100644
(file)
--- a/
tests/regression/tools/trigger/utils/notification-client.c
+++ b/
tests/regression/tools/trigger/utils/notification-client.c
@@
-173,11
+173,11
@@
int main(int argc, char **argv)
const char *trigger_name = NULL;
lttng_trigger_get_name(trigger, &trigger_name);
const char *trigger_name = NULL;
lttng_trigger_get_name(trigger, &trigger_name);
- if (strcmp(trigger_name, expected_trigger_name)) {
+ if (strcmp(trigger_name, expected_trigger_name)
!= 0
) {
/* Might match the end event trigger */
if (end_trigger_name != NULL &&
strcmp(trigger_name,
/* Might match the end event trigger */
if (end_trigger_name != NULL &&
strcmp(trigger_name,
- end_trigger_name)) {
+ end_trigger_name)
!= 0
) {
continue;
}
}
continue;
}
}
This page took
0.022747 seconds
and
4
git commands to generate.