]> git.ipfire.org Git - thirdparty/openvpn.git/commit
options: Review use of positive_atoi vs atoi_constrained
authorFrank Lichtenheld <frank@lichtenheld.com>
Thu, 9 Oct 2025 20:59:46 +0000 (22:59 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 10 Oct 2025 07:19:10 +0000 (09:19 +0200)
commit7579749fee05ee8a06dd6169396fb60f7558925a
treedba51243090e85d6da23e3c5053deff675e99b16
parentf9bfd1c405f86617ace2f63ff29f1a4099b6920b
options: Review use of positive_atoi vs atoi_constrained

Replace where it is useful.

While here also add a missing cast in atoi_constrained.

Change-Id: Id440917f433aab1a7db608ba04fa95ba47c2ddde
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1153
Message-Id: <20251009205951.32301-1-gert@greenie.muc.de>
URL: https://sourceforge.net/p/openvpn/mailman/message/59244617/
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c