refine it

This commit is contained in:
Sukchan Lee 2017-12-05 20:39:15 +09:00
parent 1a592f4d51
commit a7690e395b
12 changed files with 163 additions and 419 deletions

View file

@ -399,7 +399,7 @@ static void sock_test7(abts_case *tc, void *data)
rv = core_getaddrinfo(&addr, AF_UNSPEC, "localhost", PORT, 0);
ABTS_INT_EQUAL(tc, CORE_OK, rv);
node = sock_add_node(&list, addr);
rv = sock_add_node(&list, &node, addr, AF_INET);
ABTS_INT_EQUAL(tc, CORE_OK, rv);
core_freeaddrinfo(addr);