From f3268ee5c7a1beeea01aeed579c7ee11ceca9b03 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 12 Feb 2025 13:36:52 +0100 Subject: [PATCH] Fix typo in positive_atoi This is a code path that only affects Android Change-Id: I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <20250212123652.18183-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30832.html Signed-off-by: Gert Doering --- src/openvpn/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 218d8a6603b..3ae44dbe431 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -8316,7 +8316,7 @@ add_option(struct options *options, #if defined(TARGET_ANDROID) else if (streq(p[1], "PROXY_HTTP") && p[3] && !p[4]) { - o->http_proxy_port = positiove_atoi(p[3], msglevel); + o->http_proxy_port = positive_atoi(p[3], msglevel); o->http_proxy = p[2]; } #endif