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]
/
src
/
bin
/
lttng-sessiond
/
channel.cpp
diff --git
a/src/bin/lttng-sessiond/channel.cpp
b/src/bin/lttng-sessiond/channel.cpp
index 96eed11c00c089a69ffd9b79c774b0dcfdba6d98..2e7ed527d39d3d9c7564cb06fbd14c441a4fe58a 100644
(file)
--- a/
src/bin/lttng-sessiond/channel.cpp
+++ b/
src/bin/lttng-sessiond/channel.cpp
@@
-449,7
+449,7
@@
enum lttng_error_code channel_ust_create(struct ltt_ust_session *usess,
/* Adding the channel to the channel hash table. */
rcu_read_lock();
/* Adding the channel to the channel hash table. */
rcu_read_lock();
- if (strncmp(uchan->name, DEFAULT_METADATA_NAME, sizeof(uchan->name))) {
+ if (strncmp(uchan->name, DEFAULT_METADATA_NAME, sizeof(uchan->name))
!= 0
) {
lttng_ht_add_unique_str(usess->domain_global.channels, &uchan->node);
chan_published = true;
} else {
lttng_ht_add_unique_str(usess->domain_global.channels, &uchan->node);
chan_published = true;
} else {
This page took
0.022716 seconds
and
4
git commands to generate.