Skip to content

Commit

Permalink
Fix z_pull example
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallets committed Mar 29, 2024
1 parent ebf5ed7 commit 817ca5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/z_pull.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 817ca5f

Please sign in to comment.