Skip to content

Commit

Permalink
fix: const name
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-freddysart committed Jan 3, 2024
1 parent 2b44d40 commit 9ca834e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ PHP_METHOD(RdKafka_Conf, setLogCb)
Set token refresh callback for OAUTHBEARER sasl */
PHP_METHOD(RdKafka_Conf, setOauthbearerTokenRefreshCb)
{
#ifndef HAS_RD_KAFKA_PARTITIONER_MURMUR2
#ifndef HAS_RD_KAFKA_OAUTHBEARER_TOKEN_REFRESH_CB
zend_throw_exception_ex(NULL, 0, "This version of rdkafka does not support the OAUTHBEARER sasl mechanism");
return;
#endif
Expand Down

0 comments on commit 9ca834e

Please sign in to comment.