Skip to content

Commit

Permalink
style: apply linter
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 8, 2024
1 parent a30e17d commit 273bc8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Flakkari/Network/Address.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ Address::Address(const sockaddr_storage &clientAddr, SocketType socket_type, IpT
hints.ai_family = (_ip_type == IpType::IPv4) ? AF_INET : AF_INET6;
hints.ai_socktype = (_socket_type == SocketType::TCP) ? SOCK_STREAM : SOCK_DGRAM;
hints.ai_protocol = (_socket_type == SocketType::TCP) ? IPPROTO_TCP : IPPROTO_UDP;
hints.ai_flags = (_ip_type == IpType::IPv4) ? (AI_ADDRCONFIG | AI_PASSIVE | AI_V4MAPPED) : (AI_ADDRCONFIG | AI_PASSIVE | AI_ALL);
hints.ai_flags =
(_ip_type == IpType::IPv4) ? (AI_ADDRCONFIG | AI_PASSIVE | AI_V4MAPPED) : (AI_ADDRCONFIG | AI_PASSIVE | AI_ALL);

addrinfo *result = nullptr;
#if defined(_WIN32)
Expand Down

0 comments on commit 273bc8c

Please sign in to comment.