Date: Thu, 25 Mar 2021 12:32:33 +0100 (CET) Message-Id: <202103251132.12PBWXKE007298@...2054...> From: Gert Doering In-Reply-To: <20210324222330.455-3-arne@...1227...> References: <20210324222330.455-3-arne@...1227...> Subject: [Openvpn-devel] [PATCH applied] Re: Fix socket related functions using int instead of socket_descriptor_t List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Arne Schwabe Cc: openvpn-devel@lists.sourceforge.net Acked-by: Gert Doering On non-windows, socket_descriptor_t is typedef'ed to "int", so this is no "generated code change", just ensuring consistency in our types. On Windows, this is a "SOCKET", which might or might not fit into an int, but is certainly not interchangeable. So, makes sense. Compile-tested on MinGW, lightly client-tested on FreeBSD and Linux. Your patch has been applied to the master branch. commit e756e12adb33e93f712281361ae61a1522d3df93 Author: Arne Schwabe Date: Wed Mar 24 23:23:29 2021 +0100 Fix socket related functions using int instead of socket_descriptor_t Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <20210324222330.455-3-arne@...1227...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21806.html Signed-off-by: Gert Doering -- kind regards, Gert Doering