aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2007-02-14 16:16:13 +0000
committerMark McLoughlin <markmc@redhat.com>2007-02-14 16:16:13 +0000
commitd4a9a0d607d2ee8a806df5269df7c3754f88bbdb (patch)
treebeb568340a928a0c4ab4f23d7bce6c526d0708b0 /tests/xml2sexprtest.c
parentTue Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com> (diff)
downloadlibvirt-d4a9a0d607d2ee8a806df5269df7c3754f88bbdb.tar.gz
libvirt-d4a9a0d607d2ee8a806df5269df7c3754f88bbdb.tar.bz2
libvirt-d4a9a0d607d2ee8a806df5269df7c3754f88bbdb.zip
Tue Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/xend_internal.c, src/xm_internal.c: pass the connection to virDomainParseXMLDesc() * src/xml.[ch]: make virDomainParseXMLDesc accept a virConnectPtr so that we can use it later to lookup the bridge associated with a network * tests/xml2sexprtest.c: just pass NULL here, it's safe
Diffstat (limited to 'tests/xml2sexprtest.c')
-rw-r--r--tests/xml2sexprtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xml2sexprtest.c b/tests/xml2sexprtest.c
index e75a1266a..b5657ec6b 100644
--- a/tests/xml2sexprtest.c
+++ b/tests/xml2sexprtest.c
@@ -24,7 +24,7 @@ static int testCompareFiles(const char *xml, const char *sexpr, const char *name
if (virtTestLoadFile(sexpr, &sexprPtr, MAX_FILE) < 0)
goto fail;
- if (!(gotsexpr = virDomainParseXMLDesc(xmlData, &gotname, xendConfigVersion)))
+ if (!(gotsexpr = virDomainParseXMLDesc(NULL, xmlData, &gotname, xendConfigVersion)))
goto fail;
if (getenv("DEBUG_TESTS")) {