pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmocore/+/31807 )
Change subject: cosmetic: stats_tcp: Fix typo in comment
......................................................................
cosmetic: stats_tcp: Fix typo in comment
Take the chance to shorten a bit the lengthy lines
Change-Id: I3215dea7e3198b728745a779ad1b6ebfa3795cb5
---
M src/core/stats_tcp.c
1 file changed, 15 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/07/31807/1
diff --git a/src/core/stats_tcp.c b/src/core/stats_tcp.c
index ebb380e..c6459fe 100644
--- a/src/core/stats_tcp.c
+++ b/src/core/stats_tcp.c
@@ -247,8 +247,10 @@
pthread_mutex_lock(&stats_tcp_lock);
llist_for_each_entry(stats_tcp_entry, &stats_tcp, entry) {
if (fd->fd == stats_tcp_entry->fd->fd) {
- /* In case we want to remove exactly that item which is also selected as the current
itemy, we
- * must designate either a different item or invalidate the current item. */
+ /* In case we want to remove exactly that item which is also
+ * selected as the current item, we must designate either a
+ * different item or invalidate the current item.
+ */
if (stats_tcp_entry == stats_tcp_entry_cur) {
if (llist_count(&stats_tcp) > 2)
next_stats_tcp_entry();
--
To view, visit
https://gerrit.osmocom.org/c/libosmocore/+/31807
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I3215dea7e3198b728745a779ad1b6ebfa3795cb5
Gerrit-Change-Number: 31807
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange