projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c90d1
)
Fix: Wrong check of node when cleaning up ht
author
David Goulet
<dgoulet@efficios.com>
Fri, 14 Dec 2012 20:11:49 +0000
(15:11 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Fri, 14 Dec 2012 20:11:49 +0000
(15:11 -0500)
The node should NOT be in the hash table to ignore the deletion and not
the contrary.
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer.c
patch
|
blob
|
blame
|
history
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index 4f83639d5d8ded41abaa03cb0c649f907bd0df1a..16521a8b863788fd957b756d7c4882f6b3c5abbd 100644
(file)
--- a/
src/common/consumer.c
+++ b/
src/common/consumer.c
@@
-243,7
+243,7
@@
static void destroy_relayd(struct consumer_relayd_sock_pair *relayd)
lttng_ht_lookup(relayd_session_id_ht,
(void *)((unsigned long) relayd->sessiond_session_id), &iter);
node = lttng_ht_iter_get_node_ulong(&iter);
- if (node
!
= NULL) {
+ if (node
=
= NULL) {
/* We assume the relayd is being or is destroyed */
return;
}
This page took
0.027313 seconds
and
4
git commands to generate.