Fix test-api-client to correctly instantiate the API class

このコミットが含まれているのは:
2016-03-18 22:07:36 +00:00
コミット b125086669

ファイルの表示

@@ -183,7 +183,7 @@ main(int argc, char *argv[])
g_info("Starting up: %s with %s:%s", *homeserver, user, password); 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), matrix_http_api_set_validate_certificate(MATRIX_HTTP_API(api),
!no_validate_certs); !no_validate_certs);
builder = json_builder_new(); builder = json_builder_new();