mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-11-14 19:03:30 +00:00
Fixed problem with closing socket.
This commit is contained in:
1 parent
1d0b3504bd
commit
d187cdef50
2 files changed
+6
-15
No files matched your search
+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