Skip to content

Commit

Permalink
Fix warning (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
BullyWiiPlaza committed Jan 20, 2024
1 parent adbfe52 commit 117f429
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kissnet.hpp
Expand Up @@ -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
Expand Down

0 comments on commit 117f429

Please sign in to comment.