]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix asynclook unit test for setup of lockchecks before log.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 25 Aug 2021 14:19:12 +0000 (16:19 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 25 Aug 2021 14:19:12 +0000 (16:19 +0200)
doc/Changelog
testcode/asynclook.c

index f3a3d3b1299c6a3c4a26e4b911d58d7ac7d2cd9b..ef467c1296b94fffb380de79af256b3c66113c1f 100644 (file)
@@ -13,6 +13,7 @@
          Unlock zone and ip in rpz nsip and nsdname callback. Unlock
          authzone and localzone if clientip found in rpz worker call.
        - Fix compile warning in libunbound for listen desetup routine.
+       - Fix asynclook unit test for setup of lockchecks before log.
 
 20 August 2021: Wouter
        - Fix #529: Fix: log_assert does nothing if UNBOUND_DEBUG is
index 660f72a7df8cb0e1091626b3585c2345d5872f0e..fffd14ed598a62b8bf25b3853da01e895cc9796d 100644 (file)
@@ -406,10 +406,10 @@ int main(int argc, char** argv)
        struct lookinfo* lookups;
        int i, r, cancel=0, blocking=0, ext=0;
 
+       checklock_start();
        /* init log now because solaris thr_key_create() is not threadsafe */
        log_init(0,0,0);
        /* lock debug start (if any) */
-       checklock_start();
 
        /* create context */
        ctx = ub_ctx_create();