[PATCH] Update call parameters of str_init() for --with-dbus

Aron Xu aron at debian.org
Fri Jan 23 17:54:59 PST 2015


---
 src/main-ctl-dbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main-ctl-dbus.c b/src/main-ctl-dbus.c
index 537ead8..61bc084 100644
--- a/src/main-ctl-dbus.c
+++ b/src/main-ctl-dbus.c
@@ -946,7 +946,7 @@ static void method_introspect(main_server_st * s, struct dbus_ctx *ctx,
 
 	mslog(s, NULL, LOG_DEBUG, "ctl: introspect");
 
-	str_init(&buf);
+	str_init(&buf, ctx);
 
 	ret = str_append_data(&buf, XML_HEAD, sizeof(XML_HEAD) - 1);
 	if (ret < 0) {
-- 
2.1.4




More information about the openconnect-devel mailing list