]> xenbits.xensource.com Git - libvirt.git/commit
remote: simplify condition
authorJán Tomko <jtomko@redhat.com>
Thu, 8 Mar 2018 16:34:56 +0000 (17:34 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 8 Mar 2018 16:40:57 +0000 (17:40 +0100)
commit90d7262552e8de3b067239b215903144a285723d
tree441d941917e5d41374c5bd8cbc53defedcaf144e
parent451407c8c449e979466d3cf4540481a1e6e2ca7d
remote: simplify condition

In remoteConnectOpen, conn->uri cannot be NULL in the second
part of the OR expression due to short-circuit evaluation.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/remote/remote_driver.c