mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Fixed problem with closing socket.
This commit is contained in:
parent
1d0b3504bd
commit
d187cdef50
2 changed files with 6 additions and 15 deletions
|
@ -46,7 +46,7 @@ TEST(SocketTest, OpenClose)
|
|||
socket_t sock = create_server_socket("localhost", 1914);
|
||||
ASSERT_NE(-1, sock);
|
||||
|
||||
auto ret = close_server_socket(sock);
|
||||
auto ret = close_socket(sock);
|
||||
EXPECT_EQ(0, ret);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue