[PATCH] Update call parameters of str_init() for --with-dbus
Nikos Mavrogiannopoulos
nmav at gnutls.org
Fri Jan 23 23:52:44 PST 2015
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.
regards,
Nikos
More information about the openconnect-devel
mailing list