From b1250866697aabf0f8cb3845e0f8e6215ab62e3f Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 18 Mar 2016 22:07:36 +0000 Subject: [PATCH] Fix test-api-client to correctly instantiate the API class --- src/test-api-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test-api-client.c b/src/test-api-client.c index 32f5474..5fffcbf 100644 --- a/src/test-api-client.c +++ b/src/test-api-client.c @@ -183,7 +183,7 @@ main(int argc, char *argv[]) g_info("Starting up: %s with %s:%s", *homeserver, user, password); - api = MATRIX_API(matrix_http_api_new(*homeserver, NULL)); + api = MATRIX_API(matrix_http_api_new(*homeserver, NULL, NULL)); matrix_http_api_set_validate_certificate(MATRIX_HTTP_API(api), !no_validate_certs); builder = json_builder_new();