Attention is currently required from: arehbein, dexter, pespin.

fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/34444?usp=email )

Change subject: write_queue: Enable updating max_length field
......................................................................


Patch Set 4: Code-Review+1

(1 comment)

File src/core/write_queue.c:

https://gerrit.osmocom.org/c/libosmocore/+/34444/comment/8710d00b_82692e84
PS4, Line 165:          dropped_msgs++;
> No need to increment the var N times, simply: […]
It's not going to work if you do this after the while-loop, because the 
`queue->current_length` would always be less or equal to `len`. I see nothing 
wrong with incrementing the variable.



--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/34444?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ibfe51a2faf29f8ae160a9c330c9af0d09b5a9002
Gerrit-Change-Number: 34444
Gerrit-PatchSet: 4
Gerrit-Owner: arehbein <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-Attention: arehbein <[email protected]>
Gerrit-Attention: pespin <[email protected]>
Gerrit-Attention: dexter <[email protected]>
Gerrit-Comment-Date: Mon, 18 Sep 2023 17:21:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: pespin <[email protected]>
Gerrit-MessageType: comment

Reply via email to