Skip to content

Commit

Permalink
fix(agent): belongs inside the block that checked for valid retval
Browse files Browse the repository at this point in the history
  • Loading branch information
zsistla committed Feb 5, 2025
1 parent a8569a2 commit d6f40fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/lib_php_amqplib.c
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,9 @@ NR_PHP_WRAPPER(nr_rabbitmq_basic_get) {
message_params.messaging_destination_routing_key
= Z_STRVAL_P(amqp_routing_key);
}
}

nr_php_amqplib_retrieve_dt_headers(*retval_ptr);
nr_php_amqplib_retrieve_dt_headers(*retval_ptr);
}

/* Now create and end the instrumented segment as a message segment. */
/*
Expand Down

0 comments on commit d6f40fa

Please sign in to comment.