提交 3f9a94be 编写于 作者: D Daniel Veillard

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

  was failing with a non-zero flag value
Daniel
上级 7db91401
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)
......
...@@ -1838,10 +1838,6 @@ virDomainGetXMLDesc(virDomainPtr domain, int flags) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册