Commit 95ebd053 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

belle_sip_resolver_tester: use BC_ASSERT_PTR_NOT_NULL instead of BC_ASSERT_PTR_NOT_EQUAL

parent dec151f0
......@@ -502,7 +502,7 @@ static void ipv6_dns_server(void) {
client->resolver_ctx = belle_sip_stack_resolve_a(client->stack, IPV4_SIP_DOMAIN, SIP_PORT, AF_INET, a_resolve_done, client);
BC_ASSERT_TRUE(wait_for(client->stack, &client->resolve_done, 1, timeout));
BC_ASSERT_PTR_NOT_EQUAL(client->ai_list, NULL);
if (client->ai_list) {
struct sockaddr_in *sock_in = (struct sockaddr_in *)client->ai_list->ai_addr;
int ntohsi = (int)ntohs(sock_in->sin_port);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment