]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Used to the correct unlock type (read)
authorMark Andrews <marka@isc.org>
Tue, 24 Mar 2020 03:50:31 +0000 (14:50 +1100)
committerMark Andrews <marka@isc.org>
Tue, 24 Mar 2020 03:50:31 +0000 (14:50 +1100)
lib/isc/log.c

index 6689b2efa87f31afab0adbde7314bc5c454225f0..7249b6a8c6b486f08e62a4b1a1168bcb6469f90f 100644 (file)
@@ -829,7 +829,7 @@ isc_log_setdebuglevel(isc_log_t *lctx, unsigned int level) {
                        }
                        UNLOCK(&lctx->lock);
                }
-               WRUNLOCK(&lctx->lcfg_rwl);
+               RDUNLOCK(&lctx->lcfg_rwl);
        }
 }