From 117f4298d0760cee354b77a0977b1b68e5841d32 Mon Sep 17 00:00:00 2001 From: BullyWiiPlaza Date: Sat, 20 Jan 2024 13:44:59 +0100 Subject: [PATCH] Fix warning (#71) --- kissnet.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kissnet.hpp b/kissnet.hpp index 432ba05..c194b8d 100644 --- a/kissnet.hpp +++ b/kissnet.hpp @@ -778,8 +778,10 @@ namespace kissnet return socket_status::errored; } } - - kissnet_fatal_error("connect called for non-tcp socket"); + else + { + kissnet_fatal_error("connect called for non-tcp socket"); + } } ///sockaddr struct