diff options
Diffstat (limited to 'src/resolve/test-resolved-stream.c')
-rw-r--r-- | src/resolve/test-resolved-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/test-resolved-stream.c b/src/resolve/test-resolved-stream.c index 8a01460a0e..f9428989f0 100644 --- a/src/resolve/test-resolved-stream.c +++ b/src/resolve/test-resolved-stream.c @@ -130,7 +130,7 @@ static void *tls_dns_server(void *p) { assert_se(in_addr_to_string(SERVER_ADDRESS.sin_family, &(union in_addr_union){.in = SERVER_ADDRESS.sin_addr}, &ip_str) >= 0); - asprintf(&bind_str, "%s:%d", ip_str, be16toh(SERVER_ADDRESS.sin_port)); + assert_se(asprintf(&bind_str, "%s:%d", ip_str, be16toh(SERVER_ADDRESS.sin_port)) >= 0); /* We will hook one of the socketpair ends to OpenSSL's TLS server * stdin/stdout, so we will be able to read and write plaintext |