projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: sessiond: inverted condition checking for empty hash table
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
session.cpp
diff --git
a/src/bin/lttng-sessiond/session.cpp
b/src/bin/lttng-sessiond/session.cpp
index 304589068aaaf6a4d45c4431103b262a6665ff25..3dc8065569d2dfd850e7949912bc9e4dece9b3da 100644
(file)
--- a/
src/bin/lttng-sessiond/session.cpp
+++ b/
src/bin/lttng-sessiond/session.cpp
@@
-391,7
+391,7
@@
static bool ltt_sessions_ht_empty(void)
LTTNG_ASSERT(ltt_sessions_ht_by_name);
- if (lttng_ht_get_count(ltt_sessions_ht_by_id)
=
= 0) {
+ if (lttng_ht_get_count(ltt_sessions_ht_by_id)
!
= 0) {
/* Not empty.*/
goto end;
}
This page took
0.071099 seconds
and
4
git commands to generate.