diff options
author | Remi Collet <remi@remirepo.net> | 2019-10-09 15:48:41 +0300 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-10-09 15:48:41 +0300 |
commit | 8bc2240c1528d78237983c6e77214977e31692f7 (patch) | |
tree | 6a81e2e2bd655c5b49b5111f9fa87c71e875fd69 /redis.c | |
parent | 62fd5a3b5da82be9968acc8936d749abad280a01 (diff) |
missing nul byte
Diffstat (limited to 'redis.c')
-rw-r--r-- | redis.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -887,7 +887,8 @@ PHP_MINFO_FUNCTION(redis) smart_str_appends(&names, "zstd"); #endif if (names.s) { - php_info_print_table_row(2, "Available compression", names.s->val); + smart_str_0(&names); + php_info_print_table_row(2, "Available compression", ZSTR_VAL(names.s)); } smart_str_free(&names); php_info_print_table_end(); |