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: Fix loading of config file for the lock daemon 2016-12-14 07:24:24 +01:00
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 lockd: convert to typesafe virConf accessors 2016-07-12 09:58:22 +01:00
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 locking: Fix documentation on how automatic sanlock leases are stored 2016-12-19 17:28:41 +01:00
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 Increase default file handle limits for daemons 2017-03-16 10:48:09 +00:00
virtlockd.socket.in virtlockd: fix systemd unit file dependancies 2017-02-03 16:40:08 +00:00
virtlockd.sysconf