libvirt/src/locking
Erik Skultety 4c248e938a maint: Fix incorrect parenthesis placement causing true/false assignment
There were a few places in our code where the following pattern in 'if'
condition occurred:

if ((foo = bar() < 0))
    do something;

This patch adjusts the conditions to the expected format:

if ((foo = bar()) < 0)
    do something;

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1488192

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2017-09-05 11:27:12 +02:00
..
domain_lock.c
domain_lock.h
libvirt_lockd.aug
libvirt_sanlock.aug
lock_daemon_config.c
lock_daemon_config.h
lock_daemon_dispatch.c
lock_daemon_dispatch.h
lock_daemon.c maint: Fix incorrect parenthesis placement causing true/false assignment 2017-09-05 11:27:12 +02:00
lock_daemon.h
lock_driver_lockd.c
lock_driver_lockd.h
lock_driver_nop.c
lock_driver_nop.h
lock_driver_sanlock.c maint: Fix incorrect parenthesis placement causing true/false assignment 2017-09-05 11:27:12 +02:00
lock_driver.h
lock_manager.c
lock_manager.h
lock_protocol.x
lockd.conf
sanlock_helper.c
sanlock.conf
test_libvirt_lockd.aug.in
test_libvirt_sanlock.aug.in
test_virtlockd.aug.in
virtlockd.aug
virtlockd.conf
virtlockd.init.in
virtlockd.pod man: Fix documentation errors about the paths of the config files 2017-06-28 11:07:08 +02:00
virtlockd.service.in
virtlockd.socket.in
virtlockd.sysconf