From 3bf5f0427a7fe5680bf164425e14cdc259599057 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 7 Mar 2012 15:31:54 +0100 Subject: [PATCH] sanlock: Fix condition left crippled while debugging --- src/locking/lock_driver_sanlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locking/lock_driver_sanlock.c b/src/locking/lock_driver_sanlock.c index 13940f1d9d..295e45d98b 100644 --- a/src/locking/lock_driver_sanlock.c +++ b/src/locking/lock_driver_sanlock.c @@ -702,7 +702,7 @@ static int virLockManagerSanlockAcquire(virLockManagerPtr lock, goto error; } - if (state && STRNEQ(state, "") && 0) { + if (state && STRNEQ(state, "")) { if ((rv = sanlock_state_to_args((char *)state, &res_count, &res_args)) < 0) { -- GitLab