summaryrefslogtreecommitdiff
path: root/external/mpl/bind/dist/bin/tests/optional/task_test.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2023-06-26 22:02:59 +0000
committerchristos <christos@NetBSD.org>2023-06-26 22:02:59 +0000
commita706c3b77df285fe88b974fb675975d899435aa3 (patch)
tree4d2014b5fba83365a4c1f3761d39fcbffa1e5163 /external/mpl/bind/dist/bin/tests/optional/task_test.c
parent51f80bb2951ace01adfd5fe4138a3cee941ff3ea (diff)
merge conflicts between 9.16.37 and 9.16.42
Diffstat (limited to 'external/mpl/bind/dist/bin/tests/optional/task_test.c')
-rw-r--r--external/mpl/bind/dist/bin/tests/optional/task_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/external/mpl/bind/dist/bin/tests/optional/task_test.c b/external/mpl/bind/dist/bin/tests/optional/task_test.c
index 2913ff19eb8..8e509ed8405 100644
--- a/external/mpl/bind/dist/bin/tests/optional/task_test.c
+++ b/external/mpl/bind/dist/bin/tests/optional/task_test.c
@@ -1,4 +1,4 @@
-/* $NetBSD: task_test.c,v 1.6 2022/09/23 12:15:23 christos Exp $ */
+/* $NetBSD: task_test.c,v 1.7 2023/06/26 22:02:59 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -196,8 +196,8 @@ main(int argc, char *argv[]) {
Sleep(10000);
#endif /* ifndef WIN32 */
printf("destroy\n");
- isc_timer_detach(&ti1);
- isc_timer_detach(&ti2);
+ isc_timer_destroy(&ti1);
+ isc_timer_destroy(&ti2);
isc_timermgr_destroy(&timgr);
isc_managers_destroy(&netmgr, &taskmgr);
printf("destroyed\n");