* src/libvirt.c: Jay Gagnon pointed out that virDomainGetXMLDesc

was failing with a non-zero flag value
Daniel
This commit is contained in:
Daniel Veillard 2008-01-24 17:09:56 +00:00
parent 7db9140126
commit 3f9a94bec3
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Thu Jan 24 18:08:28 CET 2008 Daniel Veillard <veillard@redhat.com>
* src/libvirt.c: Jay Gagnon pointed out that virDomainGetXMLDesc
was failing with a non-zero flag value
Thu Jan 24 10:08:00 BST 2008 Richard W.M. Jones <rjones@redhat.com> Thu Jan 24 10:08:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
Correct typos in the documentation (Atsushi SAKAI) Correct typos in the documentation (Atsushi SAKAI)

View File

@ -1838,10 +1838,6 @@ virDomainGetXMLDesc(virDomainPtr domain, int flags)
virLibDomainError(NULL, VIR_ERR_INVALID_DOMAIN, __FUNCTION__); virLibDomainError(NULL, VIR_ERR_INVALID_DOMAIN, __FUNCTION__);
return (NULL); return (NULL);
} }
if (flags != 0) {
virLibDomainError(domain, VIR_ERR_INVALID_ARG, __FUNCTION__);
return (NULL);
}
conn = domain->conn; conn = domain->conn;