Skip to content

Commit

Permalink
copy all members of ziti_options (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
scareything authored Dec 5, 2023
1 parent dd8a94b commit 7bdafeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/ziti.c
Original file line number Diff line number Diff line change
Expand Up @@ -1841,8 +1841,10 @@ int ziti_context_set_options(ziti_context ztx, const ziti_options *options) {
} else {
#define copy_opt(f) if (options->f != 0) ztx->opts.f = options->f

copy_opt(disabled);
copy_opt(config_types);
copy_opt(refresh_interval);
copy_opt(metrics_type);
copy_opt(api_page_size);
copy_opt(event_cb);
copy_opt(events);
Expand Down

0 comments on commit 7bdafeb

Please sign in to comment.