Skip to content

Commit fbf909b

Browse files
committed
change: version in info to BrotliDecoderVersion()
1 parent d8339cc commit fbf909b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

brotli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ ZEND_MINFO_FUNCTION(brotli)
11121112
#ifdef BROTLI_LIB_VERSION
11131113
php_info_print_table_row(2, "Library Version", BROTLI_LIB_VERSION);
11141114
#else
1115-
uint32_t version = BrotliEncoderVersion();
1115+
uint32_t version = BrotliDecoderVersion();
11161116
char buffer[64];
11171117
snprintf(buffer, sizeof(buffer), "%d.%d.%d",
11181118
version >> 24, (version >> 12) & 0xfff, version & 0xfff);

0 commit comments

Comments
 (0)