mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-08-30 05:50:08 +03:00
qemu: fix typo in spice migration code
This typo caused XPath returning improper value and thus not working spice after migration.
This commit is contained in:
@ -355,7 +355,7 @@ qemuMigrationCookieGraphicsXMLParse(xmlXPathContextPtr ctxt)
|
||||
goto error;
|
||||
}
|
||||
/* Optional */
|
||||
grap->tlsSubject = virXPathString("string(./graphics/cert[ info='subject']/@value)", ctxt);
|
||||
grap->tlsSubject = virXPathString("string(./graphics/cert[@info='subject']/@value)", ctxt);
|
||||
|
||||
|
||||
return grap;
|
||||
|
Reference in New Issue
Block a user