From 33293ff66f6a237a691a84d96d84e4050b1def3a Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Fri, 17 Nov 2023 14:26:11 -0800 Subject: [PATCH] AP_Networking: return bug fix Co-authored-by: Ryan --- libraries/AP_Networking/AP_Networking_port.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Networking/AP_Networking_port.cpp b/libraries/AP_Networking/AP_Networking_port.cpp index 17d2785a44fa3c..e4251c4a39085b 100644 --- a/libraries/AP_Networking/AP_Networking_port.cpp +++ b/libraries/AP_Networking/AP_Networking_port.cpp @@ -79,7 +79,7 @@ void AP_Networking::Port::udp_client_init(const uint32_t size_rx, const uint32_t return; } if (sock != nullptr) { - return false; + return; } sock = new SocketAPM(true); if (sock == nullptr) {