forked from pool/ocserv
c5d48392d7
OBS-URL: https://build.opensuse.org/request/show/285939 OBS-URL: https://build.opensuse.org/package/show/network:vpn/ocserv?expand=0&rev=1
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) {
|