On Sat, 2015-01-24 at 08:52 +0100, Nikos Mavrogiannopoulos wrote: > On Sat, 2015-01-24 at 09:54 +0800, Aron Xu wrote: > > --- > > 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) { > > Applied, thanks. Note that the D-BUS interface as it is now provides > less information than the unix socket one. After a bit of checking, it may not even work. I suggest sticking to the unix sockets, unless you'd like to test it. regards, Nikos