[master] f7d1c8bf3 fix oversight from previous commit
Nils Goroll
nils.goroll at uplex.de
Mon Feb 11 10:22:08 UTC 2019
commit f7d1c8bf39f348c6b214760b9bcf46877a3b5cb1
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Feb 11 11:21:19 2019 +0100
fix oversight from previous commit
diff --git a/bin/varnishd/cache/cache_lck.c b/bin/varnishd/cache/cache_lck.c
index af21c7ba4..fba7e03a2 100644
--- a/bin/varnishd/cache/cache_lck.c
+++ b/bin/varnishd/cache/cache_lck.c
@@ -112,7 +112,7 @@ Lck__Lock(struct lock *lck, const char *p, int l)
CAST_OBJ_NOTNULL(ilck, lck->priv, ILCK_MAGIC);
if (DO_DEBUG(DBG_WITNESS))
Lck_Witness_Lock(ilck, p, l, "");
- else if (DO_DEBUG(DBG_LCK)) {
+ if (DO_DEBUG(DBG_LCK)) {
r = pthread_mutex_trylock(&ilck->mtx);
if (r == EBUSY)
ilck->stat->dbg_busy++;
More information about the varnish-commit
mailing list