mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 16:26:59 +08:00
Update call parameters of str_init() for --with-dbus
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
committed by
Nikos Mavrogiannopoulos
parent
e4047e7a5b
commit
aeb034222a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user