From 817ca5f2fc1701207094841798a3a78b2a02a017 Mon Sep 17 00:00:00 2001 From: Luca Cominardi Date: Fri, 29 Mar 2024 09:31:43 +0100 Subject: [PATCH] Fix z_pull example --- examples/z_pull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/z_pull.c b/examples/z_pull.c index 0bebe18e8..6115b50ac 100644 --- a/examples/z_pull.c +++ b/examples/z_pull.c @@ -53,7 +53,7 @@ int main(int argc, char **argv) { z_owned_config_t config = z_config_default(); if (locator != NULL) { - zc_config_insert(z_loan(config), Z_CONFIG_CONNECT_KEY, z_string_make(locator)); + zc_config_insert_json(z_loan(config), Z_CONFIG_CONNECT_KEY, locator); } printf("Opening session...\n");