]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix typo in positive_atoi
authorArne Schwabe <arne@rfc2549.org>
Wed, 12 Feb 2025 12:36:52 +0000 (13:36 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 12 Feb 2025 13:00:19 +0000 (14:00 +0100)
This is a code path that only affects Android

Change-Id: I3f05318fb6f8d9e32d07532a4f0c6ccf8fb757ce
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
src/openvpn/options.c

index 218d8a6603bda076ea969dd8ebc04431bff46f72..3ae44dbe4316949a404418163d229446fc92cdd5 100644 (file)
@@ -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