pespin submitted this change.

View Change


Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
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(-)

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 change 31807. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I3215dea7e3198b728745a779ad1b6ebfa3795cb5
Gerrit-Change-Number: 31807
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged