mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 17:28:29 +00:00
clangformat
This commit is contained in:
parent
1981e0ccad
commit
5377c86da9
1 changed files with 2 additions and 1 deletions
|
@ -645,7 +645,8 @@ socket_t create_socket(const char *host, int port, Fn fn,
|
|||
for (auto rp = result; rp; rp = rp->ai_next) {
|
||||
// Create a socket
|
||||
#ifdef _WIN32
|
||||
auto sock = WSASocket(rp->ai_family, rp->ai_socktype, rp->ai_protocol, nullptr, 0, WSA_FLAG_NO_HANDLE_INHERIT);
|
||||
auto sock = WSASocket(rp->ai_family, rp->ai_socktype, rp->ai_protocol,
|
||||
nullptr, 0, WSA_FLAG_NO_HANDLE_INHERIT);
|
||||
#else
|
||||
auto sock = socket(rp->ai_family, rp->ai_socktype, rp->ai_protocol);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue