forked from pool/ocserv
14 lines
423 B
Diff
14 lines
423 B
Diff
|
Index: ocserv-0.9.0/src/main-ctl-dbus.c
|
||
|
===================================================================
|
||
|
--- ocserv-0.9.0.orig/src/main-ctl-dbus.c
|
||
|
+++ ocserv-0.9.0/src/main-ctl-dbus.c
|
||
|
@@ -946,7 +946,7 @@ static void method_introspect(main_serve
|
||
|
|
||
|
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) {
|