Skip to content

Commit b4fc433

Browse files
authored
Merge pull request #224 from dariuskasiulevicius/patch-1
Fixed mistake on version parsing
2 parents ea66a85 + 0a1a154 commit b4fc433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdkafka.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ PHP_MINFO_FUNCTION(rdkafka)
838838
(RD_KAFKA_VERSION & 0xFF000000) >> 24,
839839
(RD_KAFKA_VERSION & 0x00FF0000) >> 16,
840840
(RD_KAFKA_VERSION & 0x0000FF00) >> 8,
841-
(RD_KAFKA_VERSION & 0x000000FF) >> 8
841+
(RD_KAFKA_VERSION & 0x000000FF)
842842
);
843843

844844
php_info_print_table_header(2, "librdkafka version (runtime)", rd_kafka_version_str());

0 commit comments

Comments
 (0)