[libvirt] [PATCH] Fix spice's passwdValidTo setting

Michal Privoznik mprivozn at redhat.com
Thu Feb 10 09:35:08 UTC 2011


This fix the typo in the source.
https://bugzilla.redhat.com/show_bug.cgi?id=676374
---
 src/conf/domain_conf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 7c1fb47..59adf36 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -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;
-- 
1.7.3.5




More information about the libvir-list mailing list