diff options
author | Joshua Colp <jcolp@digium.com> | 2015-08-10 11:27:12 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-08-10 11:27:12 -0500 |
commit | ff36b5482b05baa3e91161c567162873d7d2b38d (patch) | |
tree | b9b57dfed43e662eef99bf340f1765acd612d114 /tests/test_dns_query_set.c | |
parent | 35fe8f74fe680ab2e9b41149762559e3ea02bfa9 (diff) | |
parent | 40caf0ad9bef07bdfb568a88192c157dd1840100 (diff) |
Merge "Replaces clock_gettime() with ast_tsnow()"
Diffstat (limited to 'tests/test_dns_query_set.c')
-rw-r--r-- | tests/test_dns_query_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_dns_query_set.c b/tests/test_dns_query_set.c index 98a6051db..aeb61c767 100644 --- a/tests/test_dns_query_set.c +++ b/tests/test_dns_query_set.c @@ -245,7 +245,7 @@ static enum ast_test_result_state query_set_test(struct ast_test *test, int reso } } - clock_gettime(CLOCK_REALTIME, &timeout); + timeout = ast_tsnow(); timeout.tv_sec += 10; ast_mutex_lock(&qsdata->lock); |