summaryrefslogtreecommitdiffstats
path: root/src/resolve
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/test-resolved-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/test-resolved-stream.c b/src/resolve/test-resolved-stream.c
index ae851f67f0..a52a225624 100644
--- a/src/resolve/test-resolved-stream.c
+++ b/src/resolve/test-resolved-stream.c
@@ -249,7 +249,7 @@ static void test_dns_stream(bool tls) {
r = connect(clientfd, &server_address.sa, SOCKADDR_LEN(server_address));
if (r >= 0)
break;
- usleep(EVENT_TIMEOUT_USEC / 100);
+ usleep_safe(EVENT_TIMEOUT_USEC / 100);
}
assert_se(r >= 0);