sanlock: Fix condition left crippled while debugging

This commit is contained in:
Peter Krempa 2012-03-07 15:31:54 +01:00
parent 1e0534a770
commit 3bf5f0427a

View File

@ -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) {