]> xenbits.xensource.com Git - libvirt.git/commit
virDomainAudioCommonParse: Fix parsing of 'format'
authorPeter Krempa <pkrempa@redhat.com>
Thu, 6 May 2021 15:02:50 +0000 (17:02 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 7 May 2021 08:06:18 +0000 (10:06 +0200)
commit0bcd3eecbf4da276919934a065b7f369ee44a40f
tree6c50da0e392c6f915088150bc38b6f5fecbeebf0
parent3a658e2d2fe1d6bc0352d6debdfb21332b9e1869
virDomainAudioCommonParse: Fix parsing of 'format'

Commit 38180f87f5b converted the code to use virXMLPropEnum unfaithfully
ommitting the check where 'format' must be non-zero when parsed from the
user.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c