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:
ddea0ad
)
Fix: close connection on incompatible version check
author
Julien Desfossez
<jdesfossez@efficios.com>
Tue, 10 Dec 2013 16:18:31 +0000
(11:18 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 10 Dec 2013 18:57:04 +0000
(13:57 -0500)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/live.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-relayd/live.c
b/src/bin/lttng-relayd/live.c
index cdbb5b12bdb873de53d56b617c25f0f95a9bf01b..c1f0ff050c575aee5d9b9cfc88371e482ac5c6c7 100644
(file)
--- a/
src/bin/lttng-relayd/live.c
+++ b/
src/bin/lttng-relayd/live.c
@@
-478,7
+478,7
@@
int viewer_connect(struct relay_command *cmd)
if (reply.major != be32toh(msg.major)) {
DBG("Incompatible major versions (%u vs %u)", reply.major,
be32toh(msg.major));
- ret =
0
;
+ ret =
-1
;
goto end;
}
This page took
0.027175 seconds
and
4
git commands to generate.