projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: src.ctf.lttng-live: coding style
[babeltrace.git]
/
src
/
plugins
/
ctf
/
lttng-live
/
viewer-connection.c
diff --git
a/src/plugins/ctf/lttng-live/viewer-connection.c
b/src/plugins/ctf/lttng-live/viewer-connection.c
index e8af3771b83c767929dfef58957551184a32ed85..c5f7c559bfb1ac4ed479e4091aead3ddd760e423 100644
(file)
--- a/
src/plugins/ctf/lttng-live/viewer-connection.c
+++ b/
src/plugins/ctf/lttng-live/viewer-connection.c
@@
-74,8
+74,11
@@
ssize_t lttng_live_recv(struct live_viewer_connection *viewer_connection,
}
}
} while (ret > 0 && to_copy > 0);
- if (ret > 0)
+
+ if (ret > 0) {
ret = copied;
+ }
+
/* ret = 0 means orderly shutdown, ret == BT_SOCKET_ERROR is error. */
return ret;
}
This page took
0.02322 seconds
and
4
git commands to generate.