mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
Fix typo in parsing of spice 'auth' data
A typo s/spice/vnc/ caused parsing of the spice 'auth' data to write into the wrong part of the struct, blowing away other unrelated data. * src/conf/domain_conf.c: s/vnc/spice/ in parsing spice auth
This commit is contained in:
parent
fac97c65c1
commit
10713b1b98
@ -3873,7 +3873,7 @@ virDomainGraphicsDefParseXML(xmlNodePtr node, int flags) {
|
||||
|
||||
def->data.spice.listenAddr = virXMLPropString(node, "listen");
|
||||
def->data.spice.keymap = virXMLPropString(node, "keymap");
|
||||
if (virDomainGraphicsAuthDefParseXML(node, &def->data.vnc.auth) < 0)
|
||||
if (virDomainGraphicsAuthDefParseXML(node, &def->data.spice.auth) < 0)
|
||||
goto error;
|
||||
|
||||
cur = node->children;
|
||||
|
Loading…
Reference in New Issue
Block a user