Skip to content

Commit

Permalink
a lot has changed since this example was written
Browse files Browse the repository at this point in the history
  • Loading branch information
relaxolotl committed Jan 8, 2022
1 parent 2a8e24d commit 31f4919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ main(int argc, char **argv)
sentry_value_t tx = sentry_transaction_start(tx_ctx);

if (has_arg(argc, argv, "child-spans")) {
sentry_value_t child_ctx = sentry_span_start_child(
sentry_value_new_null(), "littler.teapot", NULL);
sentry_value_t child_ctx
= sentry_span_start_child(tx, "littler.teapot", NULL);
sentry_value_t grandchild_ctx
= sentry_span_start_child(child_ctx, "littlest.teapot", NULL);

Expand Down

0 comments on commit 31f4919

Please sign in to comment.