Fixed problem with closing socket.

This commit is contained in:
yhirose 2012-10-04 00:52:12 -04:00
parent 1d0b3504bd
commit d187cdef50
2 changed files with 6 additions and 15 deletions

View file

@ -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);
}