[PATCH 01/12] qemuDomainGetGuestInfo: don't assign NULL hostname

Ján Tomko jtomko at redhat.com
Mon Mar 16 12:05:53 UTC 2020


On a Monday in 2020, Peter Krempa wrote:
>Don't rely on error check and assign hostname only when non-NULL.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_driver.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200316/bdf9cf0c/attachment-0001.sig>


More information about the libvir-list mailing list