]> xenbits.xensource.com Git - libvirt.git/commit
virLeaseReadCustomLeaseFile: Allow server_duid to be NULL
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 15 Mar 2016 15:49:37 +0000 (16:49 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 18 Mar 2016 16:29:53 +0000 (17:29 +0100)
commit4122137871cbf604451d53b0063192f8ee2592e0
treef994e49b046f8e77ee53d4992143c6391c6c4fc5
parentfd9514f8d27880014e08f7984dfa31df6a6adb0f
virLeaseReadCustomLeaseFile: Allow server_duid to be NULL

This function is going to be used later in such context where the
argument makes no sense. Teach this function to cope with that
instead of the caller having to deal with passing some dummy
argument.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virlease.c