# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1195493902 28800
# Node ID e1423289fc1dfd4b326c2d79c715ad1246be1cfa
# Parent 3957678edbd4b7ed01011ac08a0771529a8c335b
Make VSSDComponent use connect_by_classname()
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 3957678edbd4 -r e1423289fc1d src/Virt_VSSDComponent.c
--- a/src/Virt_VSSDComponent.c Mon Nov 19 09:37:31 2007 -0800
+++ b/src/Virt_VSSDComponent.c Mon Nov 19 09:38:22 2007 -0800
@@ -84,7 +84,7 @@ static CMPIStatus vssd_for_name(const ch
virDomainPtr dom = NULL;
CMPIStatus s;
- conn = lv_connect(_BROKER, &s);
+ conn = connect_by_classname(_BROKER, CLASSNAME(ref), &s);
if (conn == NULL)
goto out;