Update call parameters of str_init() for --with-dbus

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Aron Xu
2015-01-24 09:54:59 +08:00
committed by Nikos Mavrogiannopoulos
parent e4047e7a5b
commit aeb034222a

View File

@@ -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) {