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:
42fc1d0
)
Fix: remove useless assert in relayd
author
David Goulet
<dgoulet@efficios.com>
Wed, 1 Oct 2014 18:27:26 +0000
(14:27 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Wed, 1 Oct 2014 18:27:26 +0000
(14:27 -0400)
Fixes Coverity issue
1127095
.
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-relayd/main.c
b/src/bin/lttng-relayd/main.c
index fa5a7db86c393640c15fe9e8b3bf5f652da98111..802d7e107abf019720f95b52fabdf556d68df9fb 100644
(file)
--- a/
src/bin/lttng-relayd/main.c
+++ b/
src/bin/lttng-relayd/main.c
@@
-1345,7
+1345,6
@@
int relay_close_stream(struct lttcomm_relayd_hdr *recv_hdr,
stream->last_net_seq_num = be64toh(stream_info.last_net_seq_num);
stream->close_flag = 1;
session->stream_count--;
- assert(session->stream_count >= 0);
/* Check if we can close it or else the data will do it. */
try_close_stream(session, stream);
This page took
0.036874 seconds
and
4
git commands to generate.