From: "ordex (Code Review)" Date: Thu, 18 Sep 2025 08:13:48 +0000 In-Reply-To: References: Reply-To: antonio@...2726..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., gert@...1296... Message-ID: <6420e7806581929841db637743d1df278bb4c072-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="jORdBdq9aM0="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Introduce msglvl_t to unify msglevel type handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --jORdBdq9aM0= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. ordex has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/1110?usp=3Demail ) Change subject: Introduce msglvl_t to unify msglevel type handling ...................................................................... Patch Set 16: (1 comment) File src/openvpn/error.c: http://gerrit.openvpn.net/c/openvpn/+/1110/comment/e38154f9_4a81f5bc : PS16, Line 104: set_debug_level(const int level, const unsigned int flags) why not turning this into msglvl_t too? I see it normally gets passed o->verbosity, but it could also be turned to = msglvl_t as well since it never gets assigned a negative number. The only situation to check is manage.c:1467. The mgmt interface technicall= y accepts "verb -1", but it is a bogus case. We could force it to be positi= ve as well. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1110?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Id492cb774c6d022d06bb3cf5fec2a4bdd410e619 Gerrit-Change-Number: 1110 Gerrit-PatchSet: 16 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-CC: ordex Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Thu, 18 Sep 2025 08:13:48 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --jORdBdq9aM0= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

View = Change

1 comment:

To view, visit change 1110. To unsubscribe, or for help= writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id492cb774c6d022d06bb3cf5fec= 2a4bdd410e619
Gerrit-Change-Number: 1110
Gerrit-PatchSet: 16
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-CC: ordex <antonio@...2726...>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Thu, 18 Sep 2025 08:13:48= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--jORdBdq9aM0=--