mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-01 05:02:29 +07:00
Fixed problem with closing socket.
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user